TensorSliceProto.Extent

public static final class TensorSliceProto.Extent

 Extent of the slice in one dimension.
 
Protobuf type tensorflow.TensorSliceProto.Extent

Nested Classes

class TensorSliceProto.Extent.Builder
 Extent of the slice in one dimension. 
enum TensorSliceProto.Extent.HasLengthCase  

Constants

int LENGTH_FIELD_NUMBER
int START_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static TensorSliceProto.Extent
TensorSliceProto.Extent
final static com.google.protobuf.Descriptors.Descriptor
TensorSliceProto.Extent.HasLengthCase
long
getLength()
int64 length = 2;
int
long
getStart()
 Start index of the slice, starting at 0.
final com.google.protobuf.UnknownFieldSet
int
final boolean
static TensorSliceProto.Extent.Builder
static TensorSliceProto.Extent.Builder
TensorSliceProto.Extent.Builder
static TensorSliceProto.Extent
parseDelimitedFrom(InputStream input)
static TensorSliceProto.Extent
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSliceProto.Extent
parseFrom(ByteBuffer data)
static TensorSliceProto.Extent
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSliceProto.Extent
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSliceProto.Extent
parseFrom(com.google.protobuf.CodedInputStream input)
static TensorSliceProto.Extent
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSliceProto.Extent
parseFrom(com.google.protobuf.ByteString data)
static TensorSliceProto.Extent
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSliceProto.Extent
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
TensorSliceProto.Extent.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int LENGTH_FIELD_NUMBER

Constant Value: 2

public static final int START_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public static TensorSliceProto.Extent getDefaultInstance ()

public TensorSliceProto.Extent getDefaultInstanceForType ()

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

public TensorSliceProto.Extent.HasLengthCase getHasLengthCase ()

public long getLength ()

int64 length = 2;

public getParserForType ()

public int getSerializedSize ()

public long getStart ()

 Start index of the slice, starting at 0.
 
int64 start = 1;

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

public int hashCode ()

public final boolean isInitialized ()

public static TensorSliceProto.Extent.Builder newBuilder (TensorSliceProto.Extent prototype)

public static TensorSliceProto.Extent.Builder newBuilder ()

public TensorSliceProto.Extent.Builder newBuilderForType ()

public static TensorSliceProto.Extent parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

public static TensorSliceProto.Extent parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static parser ()

public TensorSliceProto.Extent.Builder toBuilder ()

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

Throws
IOException