org.nd4j.linalg.ops.transforms
Class Exp
- java.lang.Object
-
- org.nd4j.linalg.ops.BaseElementWiseOp
-
- org.nd4j.linalg.ops.transforms.Exp
-
- All Implemented Interfaces:
- ElementWiseOp
public class Exp extends BaseElementWiseOp
Exponential of an ndarray
-
-
Constructor Summary
Constructors Constructor and Description Exp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectapply(INDArray from, java.lang.Object value, int i)The transformation for a given value (a scalar ndarray)doubleexp(double val)-
Methods inherited from class org.nd4j.linalg.ops.BaseElementWiseOp
applyTransformToOrigin, applyTransformToOrigin, exec, from, getFromOrigin, getThreads
-
-
-
-
Method Detail
-
apply
public java.lang.Object apply(INDArray from, java.lang.Object value, int i)
The transformation for a given value (a scalar ndarray)- Parameters:
value- the value to applyTransformToOrigin (a scalar ndarray)i- the index of the element being acted uponfrom- the origin ndarray- Returns:
- the transformed value based on the input
-
exp
public double exp(double val)
-
-
DMelt 3.0 © DataMelt by jWork.ORG