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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>
public TensorShapeProto.Dim getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public TensorShapeProto.Dim build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public TensorShapeProto.Dim buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public TensorShapeProto.Dim.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<TensorShapeProto.Dim.Builder>
IOException
public 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.DimOrBuilder
public 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.DimOrBuilder
public org.nd4j.shade.protobuf.ByteString getNameBytes()
Optional name of the tensor dimension.
string name = 2;
getNameBytes
in interface TensorShapeProto.DimOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>
Copyright © 2020. All rights reserved.