public static final class TensorShapeProto.Dim.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder> implements TensorShapeProto.DimOrBuilder
One dimension of the tensor.Protobuf type
tensorflow.TensorShapeProto.Dim| Modifier and Type | Method and Description |
|---|---|
TensorShapeProto.Dim.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TensorShapeProto.Dim |
build() |
TensorShapeProto.Dim |
buildPartial() |
TensorShapeProto.Dim.Builder |
clear() |
TensorShapeProto.Dim.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
TensorShapeProto.Dim.Builder |
clearName()
Optional name of the tensor dimension.
|
TensorShapeProto.Dim.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
TensorShapeProto.Dim.Builder |
clearSize()
Size of the tensor in that dimension.
|
TensorShapeProto.Dim.Builder |
clone() |
TensorShapeProto.Dim |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Optional name of the tensor dimension.
|
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
Optional name of the tensor dimension.
|
long |
getSize()
Size of the tensor in that dimension.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TensorShapeProto.Dim.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto.Dim.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
TensorShapeProto.Dim.Builder |
mergeFrom(TensorShapeProto.Dim other) |
TensorShapeProto.Dim.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
TensorShapeProto.Dim.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TensorShapeProto.Dim.Builder |
setName(String value)
Optional name of the tensor dimension.
|
TensorShapeProto.Dim.Builder |
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
Optional name of the tensor dimension.
|
TensorShapeProto.Dim.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TensorShapeProto.Dim.Builder |
setSize(long value)
Size of the tensor in that dimension.
|
TensorShapeProto.Dim.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic TensorShapeProto.Dim build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic TensorShapeProto.Dim buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic TensorShapeProto.Dim.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder mergeFrom(TensorShapeProto.Dim other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<TensorShapeProto.Dim.Builder>IOExceptionpublic long getSize()
Size of the tensor in that dimension. This value must be >= -1, but values of -1 are reserved for "unknown" shapes (values of -1 mean "unknown" dimension). Certain wrappers that work with TensorShapeProto may fail at runtime when deserializing a TensorShapeProto containing a dim value of -1.
int64 size = 1;getSize in interface TensorShapeProto.DimOrBuilderpublic TensorShapeProto.Dim.Builder setSize(long value)
Size of the tensor in that dimension. This value must be >= -1, but values of -1 are reserved for "unknown" shapes (values of -1 mean "unknown" dimension). Certain wrappers that work with TensorShapeProto may fail at runtime when deserializing a TensorShapeProto containing a dim value of -1.
int64 size = 1;public TensorShapeProto.Dim.Builder clearSize()
Size of the tensor in that dimension. This value must be >= -1, but values of -1 are reserved for "unknown" shapes (values of -1 mean "unknown" dimension). Certain wrappers that work with TensorShapeProto may fail at runtime when deserializing a TensorShapeProto containing a dim value of -1.
int64 size = 1;public String getName()
Optional name of the tensor dimension.
string name = 2;getName in interface TensorShapeProto.DimOrBuilderpublic org.nd4j.shade.protobuf.ByteString getNameBytes()
Optional name of the tensor dimension.
string name = 2;getNameBytes in interface TensorShapeProto.DimOrBuilderpublic TensorShapeProto.Dim.Builder setName(String value)
Optional name of the tensor dimension.
string name = 2;public TensorShapeProto.Dim.Builder clearName()
Optional name of the tensor dimension.
string name = 2;public TensorShapeProto.Dim.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
Optional name of the tensor dimension.
string name = 2;public final TensorShapeProto.Dim.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public final TensorShapeProto.Dim.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>Copyright © 2021. All rights reserved.