public static final class OnnxMl.TensorShapeProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder> implements OnnxMl.TensorShapeProtoOrBuilder
Defines a tensor shape. A dimension can be either an integer value or a symbolic variable. A symbolic variable represents an unknown dimension.Protobuf type
onnx.TensorShapeProto| Modifier and Type | Method and Description |
|---|---|
OnnxMl.TensorShapeProto.Builder |
addAllDim(Iterable<? extends OnnxMl.TensorShapeProto.Dimension> values)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
addDim(int index,
OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
addDim(int index,
OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
addDim(OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
addDim(OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Dimension.Builder |
addDimBuilder()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Dimension.Builder |
addDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxMl.TensorShapeProto |
build() |
OnnxMl.TensorShapeProto |
buildPartial() |
OnnxMl.TensorShapeProto.Builder |
clear() |
OnnxMl.TensorShapeProto.Builder |
clearDim()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
OnnxMl.TensorShapeProto.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
OnnxMl.TensorShapeProto.Builder |
clone() |
OnnxMl.TensorShapeProto |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
OnnxMl.TensorShapeProto.Dimension |
getDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Dimension.Builder |
getDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
List<OnnxMl.TensorShapeProto.Dimension.Builder> |
getDimBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
int |
getDimCount()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
List<OnnxMl.TensorShapeProto.Dimension> |
getDimList()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.DimensionOrBuilder |
getDimOrBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
List<? extends OnnxMl.TensorShapeProto.DimensionOrBuilder> |
getDimOrBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxMl.TensorShapeProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
OnnxMl.TensorShapeProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
OnnxMl.TensorShapeProto.Builder |
mergeFrom(OnnxMl.TensorShapeProto other) |
OnnxMl.TensorShapeProto.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
OnnxMl.TensorShapeProto.Builder |
removeDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
setDim(int index,
OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
setDim(int index,
OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxMl.TensorShapeProto.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic OnnxMl.TensorShapeProto build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic OnnxMl.TensorShapeProto buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.Builder mergeFrom(OnnxMl.TensorShapeProto other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>IOExceptionpublic List<OnnxMl.TensorShapeProto.Dimension> getDimList()
repeated .onnx.TensorShapeProto.Dimension dim = 1;getDimList in interface OnnxMl.TensorShapeProtoOrBuilderpublic int getDimCount()
repeated .onnx.TensorShapeProto.Dimension dim = 1;getDimCount in interface OnnxMl.TensorShapeProtoOrBuilderpublic OnnxMl.TensorShapeProto.Dimension getDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;getDim in interface OnnxMl.TensorShapeProtoOrBuilderpublic OnnxMl.TensorShapeProto.Builder setDim(int index, OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder setDim(int index, OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder addDim(OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder addDim(int index, OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder addDim(OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder addDim(int index, OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder addAllDim(Iterable<? extends OnnxMl.TensorShapeProto.Dimension> values)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder clearDim()
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder removeDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Dimension.Builder getDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.DimensionOrBuilder getDimOrBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;getDimOrBuilder in interface OnnxMl.TensorShapeProtoOrBuilderpublic List<? extends OnnxMl.TensorShapeProto.DimensionOrBuilder> getDimOrBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1;getDimOrBuilderList in interface OnnxMl.TensorShapeProtoOrBuilderpublic OnnxMl.TensorShapeProto.Dimension.Builder addDimBuilder()
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Dimension.Builder addDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public List<OnnxMl.TensorShapeProto.Dimension.Builder> getDimBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1;public final OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>public final OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>Copyright © 2021. All rights reserved.