org.nd4j.linalg.indexing.functions
Class Identity
- java.lang.Object
-
- org.nd4j.linalg.indexing.functions.Identity
-
-
Constructor Summary
Constructors Constructor and Description Identity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Numberapply(java.lang.Number input)Returns the result of applying this function toinput.
-
-
-
Method Detail
-
apply
public java.lang.Number apply(java.lang.Number input)
Description copied from interface:FunctionReturns the result of applying this function toinput. This method is generally expected, but not absolutely required, to have the following properties:- Its execution does not cause any observable side effects.
- The computation is consistent with equals; that is,
Objects.equal(a, b)implies thatObjects.equal(function.apply(a), function.apply(b)).
-
-
DMelt 3.0 © DataMelt by jWork.ORG