Documentation of 'org.nd4j.linalg.ops.transforms.Stabilize' Java class
Stabilize
org.nd4j.linalg.ops.transforms

Class Stabilize

  • All Implemented Interfaces:
    ElementWiseOp


    public class Stabilize
    extends BaseElementWiseOp
    Ensures numerical stability. Clips values of input such that exp(k * in) is within single numerical precision
    • Constructor Detail

      • Stabilize

        public Stabilize(java.lang.Double k)
      • Stabilize

        public Stabilize(java.lang.Float k)
      • Stabilize

        public Stabilize(float k)
      • Stabilize

        public Stabilize()
    • 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 upon
        from - the origin ndarray
        Returns:
        the transformed value based on the input

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.