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, 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<OnnxMl.TensorShapeProto.Builder>
public OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.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<OnnxMl.TensorShapeProto.Builder>
public OnnxMl.TensorShapeProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public OnnxMl.TensorShapeProto build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public OnnxMl.TensorShapeProto buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public OnnxMl.TensorShapeProto.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<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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.TensorShapeProto.Builder>
IOException
public List<OnnxMl.TensorShapeProto.Dimension> getDimList()
repeated .onnx.TensorShapeProto.Dimension dim = 1;
getDimList
in interface OnnxMl.TensorShapeProtoOrBuilder
public int getDimCount()
repeated .onnx.TensorShapeProto.Dimension dim = 1;
getDimCount
in interface OnnxMl.TensorShapeProtoOrBuilder
public OnnxMl.TensorShapeProto.Dimension getDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
getDim
in interface OnnxMl.TensorShapeProtoOrBuilder
public 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.TensorShapeProtoOrBuilder
public List<? extends OnnxMl.TensorShapeProto.DimensionOrBuilder> getDimOrBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1;
getDimOrBuilderList
in interface OnnxMl.TensorShapeProtoOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>
Copyright © 2020. All rights reserved.