- forward(IValue...) - Method in class org.pytorch.Module
-
Runs the 'forward' method of this module with the specified arguments.
- from(Tensor) - Static method in class org.pytorch.IValue
-
Creates a new IValue
of type Tensor
.
- from(boolean) - Static method in class org.pytorch.IValue
-
Creates a new IValue
of type bool
.
- from(long) - Static method in class org.pytorch.IValue
-
Creates a new IValue
of type int
.
- from(double) - Static method in class org.pytorch.IValue
-
Creates a new IValue
of type float
.
- from(String) - Static method in class org.pytorch.IValue
-
Creates a new IValue
of type str
.
- fromBlob(byte[], long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.int8 with specified shape and data as array of
bytes.
- fromBlob(byte[], long[]) - Static method in class org.pytorch.Tensor
-
- fromBlob(int[], long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.int32 with specified shape and data as array of
ints.
- fromBlob(int[], long[]) - Static method in class org.pytorch.Tensor
-
- fromBlob(float[], long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.float32 with specified shape and data as array
of floats.
- fromBlob(float[], long[]) - Static method in class org.pytorch.Tensor
-
- fromBlob(long[], long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.int64 with specified shape and data as array of
longs.
- fromBlob(long[], long[]) - Static method in class org.pytorch.Tensor
-
- fromBlob(double[], long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.float64 with specified shape and data as array
of doubles.
- fromBlob(double[], long[]) - Static method in class org.pytorch.Tensor
-
- fromBlob(ByteBuffer, long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.int8 with specified shape and data.
- fromBlob(ByteBuffer, long[]) - Static method in class org.pytorch.Tensor
-
- fromBlob(IntBuffer, long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.int32 with specified shape and data.
- fromBlob(IntBuffer, long[]) - Static method in class org.pytorch.Tensor
-
- fromBlob(FloatBuffer, long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.float32 with specified shape and data.
- fromBlob(FloatBuffer, long[]) - Static method in class org.pytorch.Tensor
-
- fromBlob(LongBuffer, long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.int64 with specified shape and data.
- fromBlob(LongBuffer, long[]) - Static method in class org.pytorch.Tensor
-
- fromBlob(DoubleBuffer, long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.float64 with specified shape and data.
- fromBlob(DoubleBuffer, long[]) - Static method in class org.pytorch.Tensor
-
- fromBlobUnsigned(byte[], long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.uint8 with specified shape and data as array of
bytes.
- fromBlobUnsigned(byte[], long[]) - Static method in class org.pytorch.Tensor
-
- fromBlobUnsigned(ByteBuffer, long[], MemoryFormat) - Static method in class org.pytorch.Tensor
-
Creates a new Tensor instance with dtype torch.uint8 with specified shape and data.
- fromBlobUnsigned(ByteBuffer, long[]) - Static method in class org.pytorch.Tensor
-