public static final class
TensorSliceProto.Builder
Can only be interpreted if you know the corresponding TensorShape.
tensorflow.TensorSliceProto
Public Methods
TensorSliceProto.Builder |
addAllExtent(Iterable<? extends TensorSliceProto.Extent> values)
Extent of the slice in all tensor dimensions. |
TensorSliceProto.Builder |
addExtent(TensorSliceProto.Extent.Builder builderForValue)
Extent of the slice in all tensor dimensions. |
TensorSliceProto.Builder |
addExtent(int index, TensorSliceProto.Extent.Builder builderForValue)
Extent of the slice in all tensor dimensions. |
TensorSliceProto.Builder | |
TensorSliceProto.Builder | |
TensorSliceProto.Extent.Builder |
addExtentBuilder()
Extent of the slice in all tensor dimensions. |
TensorSliceProto.Extent.Builder |
addExtentBuilder(int index)
Extent of the slice in all tensor dimensions. |
TensorSliceProto.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
TensorSliceProto |
build()
|
TensorSliceProto | |
TensorSliceProto.Builder |
clear()
|
TensorSliceProto.Builder |
clearExtent()
Extent of the slice in all tensor dimensions. |
TensorSliceProto.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
TensorSliceProto.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
TensorSliceProto.Builder |
clone()
|
TensorSliceProto | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
TensorSliceProto.Extent |
getExtent(int index)
Extent of the slice in all tensor dimensions. |
TensorSliceProto.Extent.Builder |
getExtentBuilder(int index)
Extent of the slice in all tensor dimensions. |
List<TensorSliceProto.Extent.Builder> |
getExtentBuilderList()
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. |
final boolean | |
TensorSliceProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
TensorSliceProto.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final TensorSliceProto.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
TensorSliceProto.Builder |
removeExtent(int index)
Extent of the slice in all tensor dimensions. |
TensorSliceProto.Builder | |
TensorSliceProto.Builder |
setExtent(int index, TensorSliceProto.Extent.Builder builderForValue)
Extent of the slice in all tensor dimensions. |
TensorSliceProto.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
TensorSliceProto.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final TensorSliceProto.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public TensorSliceProto.Builder addAllExtent (Iterable<? extends TensorSliceProto.Extent> values)
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.Builder addExtent (TensorSliceProto.Extent.Builder builderForValue)
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.Builder addExtent (int index, TensorSliceProto.Extent.Builder builderForValue)
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.Builder addExtent (TensorSliceProto.Extent value)
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.Builder addExtent (int index, TensorSliceProto.Extent value)
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.Extent.Builder addExtentBuilder ()
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.Extent.Builder addExtentBuilder (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 TensorSliceProto.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public TensorSliceProto.Builder clearExtent ()
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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 TensorSliceProto.Extent.Builder getExtentBuilder (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<TensorSliceProto.Extent.Builder> getExtentBuilderList ()
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 final boolean isInitialized ()
public TensorSliceProto.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final TensorSliceProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorSliceProto.Builder removeExtent (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 TensorSliceProto.Builder setExtent (int index, TensorSliceProto.Extent value)
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.Builder setExtent (int index, TensorSliceProto.Extent.Builder builderForValue)
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;