Class TensorSliceProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TensorSliceProto.Builder>
com.google.protobuf.GeneratedMessage.Builder<TensorSliceProto.Builder>
org.tensorflow.proto.TensorSliceProto.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, TensorSliceProtoOrBuilder
- Enclosing class:
TensorSliceProto
public static final class TensorSliceProto.Builder
extends GeneratedMessage.Builder<TensorSliceProto.Builder>
implements TensorSliceProtoOrBuilder
Can only be interpreted if you know the corresponding TensorShape.Protobuf type
tensorflow.TensorSliceProto-
Method Summary
Modifier and TypeMethodDescriptionaddAllExtent(Iterable<? extends TensorSliceProto.Extent> values) Extent of the slice in all tensor dimensions.addExtent(int index, TensorSliceProto.Extent value) Extent of the slice in all tensor dimensions.addExtent(int index, TensorSliceProto.Extent.Builder builderForValue) Extent of the slice in all tensor dimensions.addExtent(TensorSliceProto.Extent value) Extent of the slice in all tensor dimensions.addExtent(TensorSliceProto.Extent.Builder builderForValue) Extent of the slice in all tensor dimensions.Extent of the slice in all tensor dimensions.addExtentBuilder(int index) Extent of the slice in all tensor dimensions.build()clear()Extent of the slice in all tensor dimensions.static final Descriptors.DescriptorgetExtent(int index) Extent of the slice in all tensor dimensions.getExtentBuilder(int index) Extent of the slice in all tensor dimensions.Extent of the slice in all tensor dimensions.intExtent of the slice in all tensor dimensions.Extent of the slice in all tensor dimensions.getExtentOrBuilder(int index) Extent of the slice in all tensor dimensions.List<? extends TensorSliceProto.ExtentOrBuilder> Extent of the slice in all tensor dimensions.protected GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(TensorSliceProto other) removeExtent(int index) Extent of the slice in all tensor dimensions.setExtent(int index, TensorSliceProto.Extent value) Extent of the slice in all tensor dimensions.setExtent(int index, TensorSliceProto.Extent.Builder builderForValue) Extent of the slice in all tensor dimensions.Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<TensorSliceProto.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<TensorSliceProto.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<TensorSliceProto.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<TensorSliceProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<TensorSliceProto.Builder>
-
mergeFrom
public TensorSliceProto.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<TensorSliceProto.Builder>- Throws:
IOException
-
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;- Specified by:
getExtentListin interfaceTensorSliceProtoOrBuilder
-
getExtentCount
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;- Specified by:
getExtentCountin interfaceTensorSliceProtoOrBuilder
-
getExtent
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;- Specified by:
getExtentin interfaceTensorSliceProtoOrBuilder
-
setExtent
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; -
setExtent
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; -
addExtent
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; -
addExtent
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; -
addExtent
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; -
addExtent
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; -
addAllExtent
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; -
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; -
removeExtent
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; -
getExtentBuilder
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; -
getExtentOrBuilder
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;- Specified by:
getExtentOrBuilderin interfaceTensorSliceProtoOrBuilder
-
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;- Specified by:
getExtentOrBuilderListin interfaceTensorSliceProtoOrBuilder
-
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; -
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; -
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;
-