public class Signum extends ARoundingOp
| Constructor and Description |
|---|
Signum() |
| Modifier and Type | Method and Description |
|---|---|
double |
apply(double x)
Applies this operator to a single value, returning the result
|
void |
applyTo(AVector v)
Applies this operator to a mutable vector.
|
void |
applyTo(INDArray v)
Applies this operator to every element of a target array.
|
averageValue, derivative, derivativeForOutput, hasDerivativeForOutput, hasInverseapplyInverse, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, compose, compose, constrainValues, divide, getDerivativeOp, getInverse, getTransform, hasDerivative, isBounded, isDomainBounded, isStochastic, maxDomain, maxValue, minDomain, minValue, product, sum, toString, validateOutputpublic static final Signum INSTANCE
public double apply(double x)
IOperatorpublic void applyTo(INDArray v)
OpCopyright © 2016. All rights reserved.