Documentation of 'org.nd4j.linalg.ops.BaseElementWiseOp' Java class
BaseElementWiseOp
org.nd4j.linalg.ops

Class BaseElementWiseOp

    • Constructor Detail

      • BaseElementWiseOp

        public BaseElementWiseOp()
    • Method Detail

      • getThreads

        public static java.util.concurrent.ExecutorService getThreads()
      • applyTransformToOrigin

        public void applyTransformToOrigin(INDArray origin,
                                           int i)
        Apply the transformation at from[i]
        Specified by:
        applyTransformToOrigin in interface ElementWiseOp
        Parameters:
        i - the index of the element to apply the transform to
        origin - the origin ndarray
      • applyTransformToOrigin

        public void applyTransformToOrigin(INDArray origin,
                                           int i,
                                           java.lang.Object valueToApply)
        Apply the transformation at from[i] using the supplied value
        Specified by:
        applyTransformToOrigin in interface ElementWiseOp
        Parameters:
        origin - the origin ndarray
        i - the index of the element to applyTransformToOrigin
        valueToApply - the value to apply to the given index
      • getFromOrigin

        public java.lang.Object getFromOrigin(INDArray origin,
                                              int i)
        Description copied from interface: ElementWiseOp
        Get the element at from at index i
        Specified by:
        getFromOrigin in interface ElementWiseOp
        Parameters:
        origin - the origin ndarray
        i - the index of the element to retrieve
        Returns:
        the element at index i
      • exec

        public void exec()
        Apply the transformation
        Specified by:
        exec in interface ElementWiseOp

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.