public static final class
TensorSliceProto.Extent
Extent of the slice in one dimension.
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 |
hashCode()
|
final boolean | |
static TensorSliceProto.Extent.Builder |
newBuilder(TensorSliceProto.Extent prototype)
|
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 final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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 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 void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|