Interface LazyNDArray

All Superinterfaces:
AutoCloseable, BytesSupplier, NDArray, NDResource

public interface LazyNDArray extends NDArray
An NDArray that waits to compute values until they are needed.
  • Method Details

    • waitToRead

      void waitToRead()
      Runs the current NDArray and sleeps until the value is ready to read.
    • waitToWrite

      void waitToWrite()
      Runs the current NDArray and sleeps until the value is ready to write.
    • waitAll

      void waitAll()
      Runs all NDArrays and sleeps until their values are fully computed.