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

Interface ElementWiseOp

    • Method Detail

      • from

        INDArray from()
        The input matrix
        Returns:
      • applyTransformToOrigin

        void applyTransformToOrigin(INDArray origin,
                                    int i)
        Apply the transformation at from[i]
        Parameters:
        origin - the origin ndarray
        i - the index of the element to applyTransformToOrigin
      • applyTransformToOrigin

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

        <E> E getFromOrigin(INDArray origin,
                            int i)
        Get the element at from at index i
        Parameters:
        origin - the origin ndarray
        i - the index of the element to retrieve
        Returns:
        the element at index i
      • apply

        <E> E apply(INDArray origin,
                    java.lang.Object value,
                    int i)
        The transformation for a given value (a scalar)
        Parameters:
        origin - the origin ndarray
        value - the value to apply (a scalar)
        i - the index of the element being acted upon
        Returns:
        the transformed value based on the input
      • exec

        void exec()
        Apply the transformation

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.