Class TorchTensor


public class TorchTensor extends TorchReferenceable
  • Field Details

    • shape

      public int[] shape
    • startIndex

      public int startIndex
    • storage

      public TorchStorage storage
  • Constructor Details

    • TorchTensor

      public TorchTensor()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • length

      public int length()
    • getStorage

      public <T extends TorchStorage> T getStorage()