TensorSliceProto

public final class TensorSliceProto

 Can only be interpreted if you know the corresponding TensorShape.
 
Protobuf type tensorflow.TensorSliceProto

Nested Classes

class TensorSliceProto.Builder
 Can only be interpreted if you know the corresponding TensorShape. 
class TensorSliceProto.Extent
 Extent of the slice in one dimension. 
interface TensorSliceProto.ExtentOrBuilder  

Constants

int EXTENT_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static TensorSliceProto
TensorSliceProto
final static com.google.protobuf.Descriptors.Descriptor
TensorSliceProto.Extent
getExtent(int index)
 Extent of the slice in all tensor dimensions.
int
getExtentCount()
 Extent of the slice in all tensor dimensions.
List<TensorSliceProto.Extent>
getExtentList()
 Extent of the slice in all tensor dimensions.
TensorSliceProto.ExtentOrBuilder
getExtentOrBuilder(int index)
 Extent of the slice in all tensor dimensions.
List<? extends TensorSliceProto.ExtentOrBuilder>
getExtentOrBuilderList()
 Extent of the slice in all tensor dimensions.
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static TensorSliceProto.Builder
static TensorSliceProto.Builder
TensorSliceProto.Builder
static TensorSliceProto
parseDelimitedFrom(InputStream input)
static TensorSliceProto
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSliceProto
parseFrom(ByteBuffer data)
static TensorSliceProto
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSliceProto
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSliceProto
parseFrom(com.google.protobuf.CodedInputStream input)
static TensorSliceProto
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSliceProto
parseFrom(com.google.protobuf.ByteString data)
static TensorSliceProto
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSliceProto
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
TensorSliceProto.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int EXTENT_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public static TensorSliceProto getDefaultInstance ()

public TensorSliceProto getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public 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 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 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 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 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;

public getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static TensorSliceProto.Builder newBuilder (TensorSliceProto prototype)

public static TensorSliceProto.Builder newBuilder ()

public TensorSliceProto.Builder newBuilderForType ()

public static TensorSliceProto parseDelimitedFrom (InputStream input)

Throws
IOException

public static TensorSliceProto parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static TensorSliceProto parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static TensorSliceProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static TensorSliceProto parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static TensorSliceProto parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static TensorSliceProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static TensorSliceProto parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static TensorSliceProto parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static TensorSliceProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public TensorSliceProto.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException