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.Builder
addAllExtent(Iterable<? extends TensorSliceProto.Extent> values)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
addExtent(int index, TensorSliceProto.Extent value)
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
addExtent(TensorSliceProto.Extent value)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
addExtent(TensorSliceProto.Extent.Builder builderForValue)
Extent of the slice in all tensor dimensions.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(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorSliceProto
build()
TensorSliceProto
buildPartial()
TensorSliceProto.Builder
clear()
TensorSliceProto.Builder
clearExtent()
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
TensorSliceProto.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
TensorSliceProto.Builder
clone()
TensorSliceProto
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TensorSliceProto.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
TensorSliceProto.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
TensorSliceProto.Builder
mergeFrom(TensorSliceProto other)
TensorSliceProto.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
TensorSliceProto.Builder
removeExtent(int index)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
setExtent(int index, TensorSliceProto.Extent value)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
setExtent(int index, TensorSliceProto.Extent.Builder builderForValue)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorSliceProto.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TensorSliceProto.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clear
public TensorSliceProto.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
getDefaultInstanceForType
public TensorSliceProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public TensorSliceProto build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public TensorSliceProto buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public TensorSliceProto.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
setField
public TensorSliceProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clearField
public TensorSliceProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clearOneof
public TensorSliceProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
addRepeatedField
public TensorSliceProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
mergeFrom
public TensorSliceProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<TensorSliceProto.Builder>
-
mergeFrom
public TensorSliceProto.Builder mergeFrom(TensorSliceProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getExtentList
in 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:
getExtentCount
in 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:
getExtent
in 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:
getExtentOrBuilder
in 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:
getExtentOrBuilderList
in 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:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
mergeUnknownFields
public final TensorSliceProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
-