Class ND4JNDArrayFactory

  • All Implemented Interfaces:
    ai.konduit.serving.pipeline.api.format.FormatFactory<ai.konduit.serving.pipeline.api.data.NDArray>, ai.konduit.serving.pipeline.api.format.NDArrayFactory

    public class ND4JNDArrayFactory
    extends java.lang.Object
    implements ai.konduit.serving.pipeline.api.format.NDArrayFactory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canCreateFrom​(java.lang.Object o)  
      ai.konduit.serving.pipeline.api.data.NDArray create​(java.lang.Object o)  
      java.util.Set<java.lang.Class<?>> supportedTypes()  
      • Methods inherited from class java.lang.Object

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

      • ND4JNDArrayFactory

        public ND4JNDArrayFactory()
    • Method Detail

      • supportedTypes

        public java.util.Set<java.lang.Class<?>> supportedTypes()
        Specified by:
        supportedTypes in interface ai.konduit.serving.pipeline.api.format.FormatFactory<ai.konduit.serving.pipeline.api.data.NDArray>
      • canCreateFrom

        public boolean canCreateFrom​(java.lang.Object o)
        Specified by:
        canCreateFrom in interface ai.konduit.serving.pipeline.api.format.FormatFactory<ai.konduit.serving.pipeline.api.data.NDArray>
      • create

        public ai.konduit.serving.pipeline.api.data.NDArray create​(java.lang.Object o)
        Specified by:
        create in interface ai.konduit.serving.pipeline.api.format.FormatFactory<ai.konduit.serving.pipeline.api.data.NDArray>