Package org.tensorflow.framework
Class TensorSliceProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
- org.tensorflow.framework.TensorSliceProto.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,TensorSliceProtoOrBuilder
- Enclosing class:
- TensorSliceProto
public static final class TensorSliceProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder> implements TensorSliceProtoOrBuilder
Can only be interpreted if you know the corresponding TensorShape.
Protobuf typetensorflow.TensorSliceProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TensorSliceProto.BuilderaddAllExtent(Iterable<? extends TensorSliceProto.Extent> values)Extent of the slice in all tensor dimensions.TensorSliceProto.BuilderaddExtent(int index, TensorSliceProto.Extent value)Extent of the slice in all tensor dimensions.TensorSliceProto.BuilderaddExtent(int index, TensorSliceProto.Extent.Builder builderForValue)Extent of the slice in all tensor dimensions.TensorSliceProto.BuilderaddExtent(TensorSliceProto.Extent value)Extent of the slice in all tensor dimensions.TensorSliceProto.BuilderaddExtent(TensorSliceProto.Extent.Builder builderForValue)Extent of the slice in all tensor dimensions.TensorSliceProto.Extent.BuilderaddExtentBuilder()Extent of the slice in all tensor dimensions.TensorSliceProto.Extent.BuilderaddExtentBuilder(int index)Extent of the slice in all tensor dimensions.TensorSliceProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)TensorSliceProtobuild()TensorSliceProtobuildPartial()TensorSliceProto.Builderclear()TensorSliceProto.BuilderclearExtent()Extent of the slice in all tensor dimensions.TensorSliceProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)TensorSliceProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)TensorSliceProto.Builderclone()TensorSliceProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()TensorSliceProto.ExtentgetExtent(int index)Extent of the slice in all tensor dimensions.TensorSliceProto.Extent.BuildergetExtentBuilder(int index)Extent of the slice in all tensor dimensions.List<TensorSliceProto.Extent.Builder>getExtentBuilderList()Extent of the slice in all tensor dimensions.intgetExtentCount()Extent of the slice in all tensor dimensions.List<TensorSliceProto.Extent>getExtentList()Extent of the slice in all tensor dimensions.TensorSliceProto.ExtentOrBuildergetExtentOrBuilder(int index)Extent of the slice in all tensor dimensions.List<? extends TensorSliceProto.ExtentOrBuilder>getExtentOrBuilderList()Extent of the slice in all tensor dimensions.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TensorSliceProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)TensorSliceProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)TensorSliceProto.BuildermergeFrom(TensorSliceProto other)TensorSliceProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)TensorSliceProto.BuilderremoveExtent(int index)Extent of the slice in all tensor dimensions.TensorSliceProto.BuildersetExtent(int index, TensorSliceProto.Extent value)Extent of the slice in all tensor dimensions.TensorSliceProto.BuildersetExtent(int index, TensorSliceProto.Extent.Builder builderForValue)Extent of the slice in all tensor dimensions.TensorSliceProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)TensorSliceProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TensorSliceProto.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clear
public TensorSliceProto.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
getDefaultInstanceForType
public TensorSliceProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public TensorSliceProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public TensorSliceProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public TensorSliceProto.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
setField
public TensorSliceProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clearField
public TensorSliceProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clearOneof
public TensorSliceProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
setRepeatedField
public TensorSliceProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
addRepeatedField
public TensorSliceProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
mergeFrom
public TensorSliceProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<TensorSliceProto.Builder>
-
mergeFrom
public TensorSliceProto.Builder mergeFrom(TensorSliceProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
mergeFrom
public TensorSliceProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<TensorSliceProto.Builder>- Throws:
IOException
-
getExtentList
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;- 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
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;- Specified by:
getExtentin interfaceTensorSliceProtoOrBuilder
-
setExtent
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;
-
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
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;
-
addExtent
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;
-
addExtent
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;
-
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
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;
-
clearExtent
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;
-
removeExtent
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;
-
getExtentBuilder
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;
-
getExtentOrBuilder
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;- Specified by:
getExtentOrBuilderin interfaceTensorSliceProtoOrBuilder
-
getExtentOrBuilderList
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;- Specified by:
getExtentOrBuilderListin interfaceTensorSliceProtoOrBuilder
-
addExtentBuilder
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;
-
addExtentBuilder
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;
-
getExtentBuilderList
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;
-
setUnknownFields
public final TensorSliceProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
mergeUnknownFields
public final TensorSliceProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
-