Class DeviceLocalNDArray

    • Constructor Detail

      • DeviceLocalNDArray

        public DeviceLocalNDArray()
      • DeviceLocalNDArray

        public DeviceLocalNDArray​(boolean delayedMode)
      • DeviceLocalNDArray

        public DeviceLocalNDArray​(INDArray array)
      • DeviceLocalNDArray

        public DeviceLocalNDArray​(INDArray array,
                                  boolean delayedMode)
    • Method Detail

      • broadcast

        public void broadcast​(INDArray array)
        This method duplicates array, and stores it to all devices PLEASE NOTE: this method is NOT atomic, so you must be sure no other threads are using this instance during the update
        Parameters:
        array -
      • update

        public void update​(@NonNull
                           @NonNull INDArray array)
        This method updates PLEASE NOTE: this method is NOT atomic, so you must be sure no other threads are using this instance during the update
        Parameters:
        array -