Class ND4JNDArray

  • All Implemented Interfaces:
    ai.konduit.serving.pipeline.api.data.NDArray

    public class ND4JNDArray
    extends ai.konduit.serving.pipeline.impl.data.ndarray.BaseNDArray<org.nd4j.linalg.api.ndarray.INDArray>
    • Field Summary

      • Fields inherited from class ai.konduit.serving.pipeline.impl.data.ndarray.BaseNDArray

        array
    • Constructor Summary

      Constructors 
      Constructor Description
      ND4JNDArray​(org.nd4j.linalg.api.ndarray.INDArray array)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int rank()  
      long[] shape()  
      long size​(int dimension)  
      ai.konduit.serving.pipeline.api.data.NDArrayType type()  
      • Methods inherited from class ai.konduit.serving.pipeline.impl.data.ndarray.BaseNDArray

        canGetAs, canGetAs, equals, get, getAs, getAs
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ND4JNDArray

        public ND4JNDArray​(org.nd4j.linalg.api.ndarray.INDArray array)
    • Method Detail

      • type

        public ai.konduit.serving.pipeline.api.data.NDArrayType type()
      • shape

        public long[] shape()
      • size

        public long size​(int dimension)
      • rank

        public int rank()