public interface
TIntegral
Known Indirect Subclasses |
Common interface for all integral numeric tensors.
Operations that only accepts integral values as some of their operands enforce that the tensor types for these operands to be bound to this interface.
Inherited Methods
From interface
org.tensorflow.types.family.TType
From interface
org.tensorflow.Tensor
abstract RawTensor |
asRawTensor()
Returns a raw (untyped) representation of this tensor
|
abstract void |
close()
Release resources associated with the Tensor.
|
abstract DataType | |
abstract long |
numBytes()
Returns the size, in bytes, of the tensor data.
|
abstract static <T extends TType> T | |
abstract static <T extends TType> T | |
abstract static <T extends TType> T | |
abstract static <T extends TType> T | |
abstract static <T extends TType> T |
of(Class<T> type, Shape shape, ByteDataBuffer rawData)
Creates a Tensor of any type from the raw data provided by the given buffer.
|
abstract Shape |
shape()
Returns the shape of the tensor.
|
From interface
org.tensorflow.ndarray.Shaped
From interface
java.lang.AutoCloseable
abstract void |
close()
|