Interface DistributedINDArray

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void allocate​(int entry, DataType dataType, long... shape)
      This method allocates INDArray for specified entry
      void allocate​(int entry, LongShapeDescriptor shapeDescriptor)
      This method allocates INDArray for specified entry
      INDArray entry()
      This method returns INDArray for the current device PLEASE NOTE: if you use more than one thread per device you'd better not use this method unless you're 100% sure
      INDArray entry​(int entry)
      This method returns INDArray for specific entry (i.e.
      ArrayType getINDArrayType()
      This method returns ArrayType for this instance
      int numActiveEntries()
      This method returns number of activated entries
      int numEntries()
      This method returns total number of entries within this DistributedINDArray instance
      void propagate​(INDArray array)
      This method propagates given INDArray to all entries as is
    • Method Detail

      • getINDArrayType

        ArrayType getINDArrayType()
        This method returns ArrayType for this instance
        Returns:
      • entry

        INDArray entry​(int entry)
        This method returns INDArray for specific entry (i.e. for specific device, if you put entries that way)
        Parameters:
        entry -
        Returns:
      • entry

        INDArray entry()
        This method returns INDArray for the current device PLEASE NOTE: if you use more than one thread per device you'd better not use this method unless you're 100% sure
        Returns:
      • propagate

        void propagate​(INDArray array)
        This method propagates given INDArray to all entries as is
        Parameters:
        array -
      • numEntries

        int numEntries()
        This method returns total number of entries within this DistributedINDArray instance
        Returns:
      • numActiveEntries

        int numActiveEntries()
        This method returns number of activated entries
        Returns:
      • allocate

        void allocate​(int entry,
                      LongShapeDescriptor shapeDescriptor)
        This method allocates INDArray for specified entry
        Parameters:
        entry -
        shapeDescriptor -
      • allocate

        void allocate​(int entry,
                      DataType dataType,
                      long... shape)
        This method allocates INDArray for specified entry
        Parameters:
        entry -