public static final class
TensorSliceProto.Extent.Builder
Extent of the slice in one dimension.
tensorflow.TensorSliceProto.Extent
Public Methods
TensorSliceProto.Extent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
TensorSliceProto.Extent |
build()
|
TensorSliceProto.Extent | |
TensorSliceProto.Extent.Builder |
clear()
|
TensorSliceProto.Extent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
TensorSliceProto.Extent.Builder | |
TensorSliceProto.Extent.Builder |
clearLength()
int64 length = 2;
|
TensorSliceProto.Extent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
TensorSliceProto.Extent.Builder |
clearStart()
Start index of the slice, starting at 0. |
TensorSliceProto.Extent.Builder |
clone()
|
TensorSliceProto.Extent | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
TensorSliceProto.Extent.HasLengthCase | |
long |
getLength()
int64 length = 2;
|
long |
getStart()
Start index of the slice, starting at 0. |
final boolean | |
TensorSliceProto.Extent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
TensorSliceProto.Extent.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final TensorSliceProto.Extent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
TensorSliceProto.Extent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
TensorSliceProto.Extent.Builder |
setLength(long value)
int64 length = 2;
|
TensorSliceProto.Extent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
TensorSliceProto.Extent.Builder |
setStart(long value)
Start index of the slice, starting at 0. |
final TensorSliceProto.Extent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public TensorSliceProto.Extent.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public TensorSliceProto.Extent.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
public TensorSliceProto.Extent.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public TensorSliceProto.Extent.Builder clearStart ()
Start index of the slice, starting at 0.
int64 start = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public long getLength ()
int64 length = 2;
public long getStart ()
Start index of the slice, starting at 0.
int64 start = 1;
public final boolean isInitialized ()
public TensorSliceProto.Extent.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final TensorSliceProto.Extent.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorSliceProto.Extent.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public TensorSliceProto.Extent.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public TensorSliceProto.Extent.Builder setStart (long value)
Start index of the slice, starting at 0.
int64 start = 1;