ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

TensorSliceProtoOrBuilder

public interface TensorSliceProtoOrBuilder
Known Indirect Subclasses

Public Methods

abstract TensorSliceProto.Extent
getExtent (int index)
 Extent of the slice in all tensor dimensions.
abstract int
getExtentCount ()
 Extent of the slice in all tensor dimensions.
abstract List< TensorSliceProto.Extent >
getExtentList ()
 Extent of the slice in all tensor dimensions.
abstract TensorSliceProto.ExtentOrBuilder
getExtentOrBuilder (int index)
 Extent of the slice in all tensor dimensions.
abstract List<? extends TensorSliceProto.ExtentOrBuilder >
getExtentOrBuilderList ()
 Extent of the slice in all tensor dimensions.

Public Methods

public abstract TensorSliceProto.Extent getExtent (int index)

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public abstract int getExtentCount ()

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public abstract List< TensorSliceProto.Extent > getExtentList ()

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public abstract TensorSliceProto.ExtentOrBuilder getExtentOrBuilder (int index)

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public abstract List<? extends TensorSliceProto.ExtentOrBuilder > getExtentOrBuilderList ()

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;