Class DifferentialFunctionClassHolder


  • public class DifferentialFunctionClassHolder
    extends Object
    • Method Detail

      • getOpDefByTensorflowName

        public OpDef getOpDefByTensorflowName​(String name)
        Get the op definition of a given tensorflow op. Note that if the name does not exist, an ND4JIllegalStateException will be thrown
        Parameters:
        name - the name of the op
        Returns:
        the op definition for a given op
      • getOpDescriptorForOnnx

        public OpDescriptor getOpDescriptorForOnnx​(String name)
        Get the op definition of a given onnx op Note that if the name does not exist, an ND4JIllegalStateException will be thrown.
        Parameters:
        name - the name of the op
        Returns:
        the op definition for a given op
      • getOpWithTensorflowName

        public DifferentialFunction getOpWithTensorflowName​(String tensorflowName)
        Get the
        Parameters:
        tensorflowName -
        Returns:
      • missingOnnxOps

        public Set<String> missingOnnxOps()
        Returns the missing onnx ops
        Returns:
      • missingTensorflowOps

        public Set<String> missingTensorflowOps()
        Returns the missing tensorflow ops
        Returns:
      • missingOps

        public List<String> missingOps()
        Returns the missing ops for c++ vs java.
        Returns:
      • hasName

        public boolean hasName​(String name)
        Parameters:
        name -
        Returns:
      • customOpClassForHashAndName

        public Class<?> customOpClassForHashAndName​(long customOpHash,
                                                    String name)