Package onnx
Class Onnx.AttributeProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
- onnx.Onnx.AttributeProto.Builder
-
- All Implemented Interfaces:
Cloneable,Onnx.AttributeProtoOrBuilder,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- Onnx.AttributeProto
public static final class Onnx.AttributeProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder> implements Onnx.AttributeProtoOrBuilder
Attributes A named attribute containing either singular float, integer, string, graph, and tensor values, or repeated float, integer, string, graph, and tensor values. An AttributeProto MUST contain the name field, and *only one* of the following content fields, effectively enforcing a C/C++ union equivalent.
Protobuf typeonnx.AttributeProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Onnx.AttributeProto.BuilderaddAllFloats(Iterable<? extends Float> values)list of floatsOnnx.AttributeProto.BuilderaddAllGraphs(Iterable<? extends Onnx.GraphProto> values)list of graphOnnx.AttributeProto.BuilderaddAllInts(Iterable<? extends Long> values)list of intsOnnx.AttributeProto.BuilderaddAllSparseTensors(Iterable<? extends Onnx.SparseTensorProto> values)list of sparse tensorsOnnx.AttributeProto.BuilderaddAllStrings(Iterable<? extends org.nd4j.shade.protobuf.ByteString> values)list of UTF-8 stringsOnnx.AttributeProto.BuilderaddAllTensors(Iterable<? extends Onnx.TensorProto> values)list of tensorsOnnx.AttributeProto.BuilderaddAllTypeProtos(Iterable<? extends Onnx.TypeProto> values)list of type protosOnnx.AttributeProto.BuilderaddFloats(float value)list of floatsOnnx.AttributeProto.BuilderaddGraphs(int index, Onnx.GraphProto value)list of graphOnnx.AttributeProto.BuilderaddGraphs(int index, Onnx.GraphProto.Builder builderForValue)list of graphOnnx.AttributeProto.BuilderaddGraphs(Onnx.GraphProto value)list of graphOnnx.AttributeProto.BuilderaddGraphs(Onnx.GraphProto.Builder builderForValue)list of graphOnnx.GraphProto.BuilderaddGraphsBuilder()list of graphOnnx.GraphProto.BuilderaddGraphsBuilder(int index)list of graphOnnx.AttributeProto.BuilderaddInts(long value)list of intsOnnx.AttributeProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.AttributeProto.BuilderaddSparseTensors(int index, Onnx.SparseTensorProto value)list of sparse tensorsOnnx.AttributeProto.BuilderaddSparseTensors(int index, Onnx.SparseTensorProto.Builder builderForValue)list of sparse tensorsOnnx.AttributeProto.BuilderaddSparseTensors(Onnx.SparseTensorProto value)list of sparse tensorsOnnx.AttributeProto.BuilderaddSparseTensors(Onnx.SparseTensorProto.Builder builderForValue)list of sparse tensorsOnnx.SparseTensorProto.BuilderaddSparseTensorsBuilder()list of sparse tensorsOnnx.SparseTensorProto.BuilderaddSparseTensorsBuilder(int index)list of sparse tensorsOnnx.AttributeProto.BuilderaddStrings(org.nd4j.shade.protobuf.ByteString value)list of UTF-8 stringsOnnx.AttributeProto.BuilderaddTensors(int index, Onnx.TensorProto value)list of tensorsOnnx.AttributeProto.BuilderaddTensors(int index, Onnx.TensorProto.Builder builderForValue)list of tensorsOnnx.AttributeProto.BuilderaddTensors(Onnx.TensorProto value)list of tensorsOnnx.AttributeProto.BuilderaddTensors(Onnx.TensorProto.Builder builderForValue)list of tensorsOnnx.TensorProto.BuilderaddTensorsBuilder()list of tensorsOnnx.TensorProto.BuilderaddTensorsBuilder(int index)list of tensorsOnnx.AttributeProto.BuilderaddTypeProtos(int index, Onnx.TypeProto value)list of type protosOnnx.AttributeProto.BuilderaddTypeProtos(int index, Onnx.TypeProto.Builder builderForValue)list of type protosOnnx.AttributeProto.BuilderaddTypeProtos(Onnx.TypeProto value)list of type protosOnnx.AttributeProto.BuilderaddTypeProtos(Onnx.TypeProto.Builder builderForValue)list of type protosOnnx.TypeProto.BuilderaddTypeProtosBuilder()list of type protosOnnx.TypeProto.BuilderaddTypeProtosBuilder(int index)list of type protosOnnx.AttributeProtobuild()Onnx.AttributeProtobuildPartial()Onnx.AttributeProto.Builderclear()Onnx.AttributeProto.BuilderclearDocString()A human-readable documentation for this attribute.Onnx.AttributeProto.BuilderclearF()Exactly ONE of the following fields must be present for this version of the IROnnx.AttributeProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)Onnx.AttributeProto.BuilderclearFloats()list of floatsOnnx.AttributeProto.BuilderclearG()graphOnnx.AttributeProto.BuilderclearGraphs()list of graphOnnx.AttributeProto.BuilderclearI()intOnnx.AttributeProto.BuilderclearInts()list of intsOnnx.AttributeProto.BuilderclearName()The name field MUST be present for this version of the IR.Onnx.AttributeProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)Onnx.AttributeProto.BuilderclearRefAttrName()if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.Onnx.AttributeProto.BuilderclearS()UTF-8 stringOnnx.AttributeProto.BuilderclearSparseTensor()sparse tensor valueOnnx.AttributeProto.BuilderclearSparseTensors()list of sparse tensorsOnnx.AttributeProto.BuilderclearStrings()list of UTF-8 stringsOnnx.AttributeProto.BuilderclearT()tensor valueOnnx.AttributeProto.BuilderclearTensors()list of tensorsOnnx.AttributeProto.BuilderclearTp()Do not use field below, it's deprecated.Onnx.AttributeProto.BuilderclearType()The type field MUST be present for this version of the IR.Onnx.AttributeProto.BuilderclearTypeProtos()list of type protosOnnx.AttributeProto.Builderclone()Onnx.AttributeProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDocString()A human-readable documentation for this attribute.org.nd4j.shade.protobuf.ByteStringgetDocStringBytes()A human-readable documentation for this attribute.floatgetF()Exactly ONE of the following fields must be present for this version of the IRfloatgetFloats(int index)list of floatsintgetFloatsCount()list of floatsList<Float>getFloatsList()list of floatsOnnx.GraphProtogetG()graphOnnx.GraphProto.BuildergetGBuilder()graphOnnx.GraphProtoOrBuildergetGOrBuilder()graphOnnx.GraphProtogetGraphs(int index)list of graphOnnx.GraphProto.BuildergetGraphsBuilder(int index)list of graphList<Onnx.GraphProto.Builder>getGraphsBuilderList()list of graphintgetGraphsCount()list of graphList<Onnx.GraphProto>getGraphsList()list of graphOnnx.GraphProtoOrBuildergetGraphsOrBuilder(int index)list of graphList<? extends Onnx.GraphProtoOrBuilder>getGraphsOrBuilderList()list of graphlonggetI()intlonggetInts(int index)list of intsintgetIntsCount()list of intsList<Long>getIntsList()list of intsStringgetName()The name field MUST be present for this version of the IR.org.nd4j.shade.protobuf.ByteStringgetNameBytes()The name field MUST be present for this version of the IR.StringgetRefAttrName()if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.org.nd4j.shade.protobuf.ByteStringgetRefAttrNameBytes()if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.org.nd4j.shade.protobuf.ByteStringgetS()UTF-8 stringOnnx.SparseTensorProtogetSparseTensor()sparse tensor valueOnnx.SparseTensorProto.BuildergetSparseTensorBuilder()sparse tensor valueOnnx.SparseTensorProtoOrBuildergetSparseTensorOrBuilder()sparse tensor valueOnnx.SparseTensorProtogetSparseTensors(int index)list of sparse tensorsOnnx.SparseTensorProto.BuildergetSparseTensorsBuilder(int index)list of sparse tensorsList<Onnx.SparseTensorProto.Builder>getSparseTensorsBuilderList()list of sparse tensorsintgetSparseTensorsCount()list of sparse tensorsList<Onnx.SparseTensorProto>getSparseTensorsList()list of sparse tensorsOnnx.SparseTensorProtoOrBuildergetSparseTensorsOrBuilder(int index)list of sparse tensorsList<? extends Onnx.SparseTensorProtoOrBuilder>getSparseTensorsOrBuilderList()list of sparse tensorsorg.nd4j.shade.protobuf.ByteStringgetStrings(int index)list of UTF-8 stringsintgetStringsCount()list of UTF-8 stringsList<org.nd4j.shade.protobuf.ByteString>getStringsList()list of UTF-8 stringsOnnx.TensorProtogetT()tensor valueOnnx.TensorProto.BuildergetTBuilder()tensor valueOnnx.TensorProtogetTensors(int index)list of tensorsOnnx.TensorProto.BuildergetTensorsBuilder(int index)list of tensorsList<Onnx.TensorProto.Builder>getTensorsBuilderList()list of tensorsintgetTensorsCount()list of tensorsList<Onnx.TensorProto>getTensorsList()list of tensorsOnnx.TensorProtoOrBuildergetTensorsOrBuilder(int index)list of tensorsList<? extends Onnx.TensorProtoOrBuilder>getTensorsOrBuilderList()list of tensorsOnnx.TensorProtoOrBuildergetTOrBuilder()tensor valueOnnx.TypeProtogetTp()Do not use field below, it's deprecated.Onnx.TypeProto.BuildergetTpBuilder()Do not use field below, it's deprecated.Onnx.TypeProtoOrBuildergetTpOrBuilder()Do not use field below, it's deprecated.Onnx.AttributeProto.AttributeTypegetType()The type field MUST be present for this version of the IR.Onnx.TypeProtogetTypeProtos(int index)list of type protosOnnx.TypeProto.BuildergetTypeProtosBuilder(int index)list of type protosList<Onnx.TypeProto.Builder>getTypeProtosBuilderList()list of type protosintgetTypeProtosCount()list of type protosList<Onnx.TypeProto>getTypeProtosList()list of type protosOnnx.TypeProtoOrBuildergetTypeProtosOrBuilder(int index)list of type protosList<? extends Onnx.TypeProtoOrBuilder>getTypeProtosOrBuilderList()list of type protosintgetTypeValue()The type field MUST be present for this version of the IR.booleanhasG()graphbooleanhasSparseTensor()sparse tensor valuebooleanhasT()tensor valuebooleanhasTp()Do not use field below, it's deprecated.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Onnx.AttributeProto.BuildermergeFrom(Onnx.AttributeProto other)Onnx.AttributeProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)Onnx.AttributeProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)Onnx.AttributeProto.BuildermergeG(Onnx.GraphProto value)graphOnnx.AttributeProto.BuildermergeSparseTensor(Onnx.SparseTensorProto value)sparse tensor valueOnnx.AttributeProto.BuildermergeT(Onnx.TensorProto value)tensor valueOnnx.AttributeProto.BuildermergeTp(Onnx.TypeProto value)Do not use field below, it's deprecated.Onnx.AttributeProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)Onnx.AttributeProto.BuilderremoveGraphs(int index)list of graphOnnx.AttributeProto.BuilderremoveSparseTensors(int index)list of sparse tensorsOnnx.AttributeProto.BuilderremoveTensors(int index)list of tensorsOnnx.AttributeProto.BuilderremoveTypeProtos(int index)list of type protosOnnx.AttributeProto.BuildersetDocString(String value)A human-readable documentation for this attribute.Onnx.AttributeProto.BuildersetDocStringBytes(org.nd4j.shade.protobuf.ByteString value)A human-readable documentation for this attribute.Onnx.AttributeProto.BuildersetF(float value)Exactly ONE of the following fields must be present for this version of the IROnnx.AttributeProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.AttributeProto.BuildersetFloats(int index, float value)list of floatsOnnx.AttributeProto.BuildersetG(Onnx.GraphProto value)graphOnnx.AttributeProto.BuildersetG(Onnx.GraphProto.Builder builderForValue)graphOnnx.AttributeProto.BuildersetGraphs(int index, Onnx.GraphProto value)list of graphOnnx.AttributeProto.BuildersetGraphs(int index, Onnx.GraphProto.Builder builderForValue)list of graphOnnx.AttributeProto.BuildersetI(long value)intOnnx.AttributeProto.BuildersetInts(int index, long value)list of intsOnnx.AttributeProto.BuildersetName(String value)The name field MUST be present for this version of the IR.Onnx.AttributeProto.BuildersetNameBytes(org.nd4j.shade.protobuf.ByteString value)The name field MUST be present for this version of the IR.Onnx.AttributeProto.BuildersetRefAttrName(String value)if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.Onnx.AttributeProto.BuildersetRefAttrNameBytes(org.nd4j.shade.protobuf.ByteString value)if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.Onnx.AttributeProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Onnx.AttributeProto.BuildersetS(org.nd4j.shade.protobuf.ByteString value)UTF-8 stringOnnx.AttributeProto.BuildersetSparseTensor(Onnx.SparseTensorProto value)sparse tensor valueOnnx.AttributeProto.BuildersetSparseTensor(Onnx.SparseTensorProto.Builder builderForValue)sparse tensor valueOnnx.AttributeProto.BuildersetSparseTensors(int index, Onnx.SparseTensorProto value)list of sparse tensorsOnnx.AttributeProto.BuildersetSparseTensors(int index, Onnx.SparseTensorProto.Builder builderForValue)list of sparse tensorsOnnx.AttributeProto.BuildersetStrings(int index, org.nd4j.shade.protobuf.ByteString value)list of UTF-8 stringsOnnx.AttributeProto.BuildersetT(Onnx.TensorProto value)tensor valueOnnx.AttributeProto.BuildersetT(Onnx.TensorProto.Builder builderForValue)tensor valueOnnx.AttributeProto.BuildersetTensors(int index, Onnx.TensorProto value)list of tensorsOnnx.AttributeProto.BuildersetTensors(int index, Onnx.TensorProto.Builder builderForValue)list of tensorsOnnx.AttributeProto.BuildersetTp(Onnx.TypeProto value)Do not use field below, it's deprecated.Onnx.AttributeProto.BuildersetTp(Onnx.TypeProto.Builder builderForValue)Do not use field below, it's deprecated.Onnx.AttributeProto.BuildersetType(Onnx.AttributeProto.AttributeType value)The type field MUST be present for this version of the IR.Onnx.AttributeProto.BuildersetTypeProtos(int index, Onnx.TypeProto value)list of type protosOnnx.AttributeProto.BuildersetTypeProtos(int index, Onnx.TypeProto.Builder builderForValue)list of type protosOnnx.AttributeProto.BuildersetTypeValue(int value)The type field MUST be present for this version of the IR.Onnx.AttributeProto.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
clear
public Onnx.AttributeProto.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
getDefaultInstanceForType
public Onnx.AttributeProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.AttributeProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.AttributeProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.AttributeProto.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
setField
public Onnx.AttributeProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
clearField
public Onnx.AttributeProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
clearOneof
public Onnx.AttributeProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
setRepeatedField
public Onnx.AttributeProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
addRepeatedField
public Onnx.AttributeProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
mergeFrom
public Onnx.AttributeProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.AttributeProto.Builder>
-
mergeFrom
public Onnx.AttributeProto.Builder mergeFrom(Onnx.AttributeProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
mergeFrom
public Onnx.AttributeProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.AttributeProto.Builder>- Throws:
IOException
-
getName
public String getName()
The name field MUST be present for this version of the IR.
string name = 1;- Specified by:
getNamein interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
The name field MUST be present for this version of the IR.
string name = 1;- Specified by:
getNameBytesin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The bytes for name.
-
setName
public Onnx.AttributeProto.Builder setName(String value)
The name field MUST be present for this version of the IR.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Onnx.AttributeProto.Builder clearName()
The name field MUST be present for this version of the IR.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Onnx.AttributeProto.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name field MUST be present for this version of the IR.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getRefAttrName
public String getRefAttrName()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function. In this case, this AttributeProto does not contain data, and it's a reference of attribute in parent scope. NOTE: This should ONLY be used in function (sub-graph). It's invalid to be used in main graph.
string ref_attr_name = 21;- Specified by:
getRefAttrNamein interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The refAttrName.
-
getRefAttrNameBytes
public org.nd4j.shade.protobuf.ByteString getRefAttrNameBytes()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function. In this case, this AttributeProto does not contain data, and it's a reference of attribute in parent scope. NOTE: This should ONLY be used in function (sub-graph). It's invalid to be used in main graph.
string ref_attr_name = 21;- Specified by:
getRefAttrNameBytesin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The bytes for refAttrName.
-
setRefAttrName
public Onnx.AttributeProto.Builder setRefAttrName(String value)
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function. In this case, this AttributeProto does not contain data, and it's a reference of attribute in parent scope. NOTE: This should ONLY be used in function (sub-graph). It's invalid to be used in main graph.
string ref_attr_name = 21;- Parameters:
value- The refAttrName to set.- Returns:
- This builder for chaining.
-
clearRefAttrName
public Onnx.AttributeProto.Builder clearRefAttrName()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function. In this case, this AttributeProto does not contain data, and it's a reference of attribute in parent scope. NOTE: This should ONLY be used in function (sub-graph). It's invalid to be used in main graph.
string ref_attr_name = 21;- Returns:
- This builder for chaining.
-
setRefAttrNameBytes
public Onnx.AttributeProto.Builder setRefAttrNameBytes(org.nd4j.shade.protobuf.ByteString value)
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function. In this case, this AttributeProto does not contain data, and it's a reference of attribute in parent scope. NOTE: This should ONLY be used in function (sub-graph). It's invalid to be used in main graph.
string ref_attr_name = 21;- Parameters:
value- The bytes for refAttrName to set.- Returns:
- This builder for chaining.
-
getDocString
public String getDocString()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;- Specified by:
getDocStringin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;- Specified by:
getDocStringBytesin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
public Onnx.AttributeProto.Builder setDocString(String value)
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;- Parameters:
value- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
public Onnx.AttributeProto.Builder clearDocString()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;- Returns:
- This builder for chaining.
-
setDocStringBytes
public Onnx.AttributeProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;- Parameters:
value- The bytes for docString to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field heuristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accommodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;- Specified by:
getTypeValuein interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public Onnx.AttributeProto.Builder setTypeValue(int value)
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field heuristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accommodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public Onnx.AttributeProto.AttributeType getType()
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field heuristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accommodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;- Specified by:
getTypein interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The type.
-
setType
public Onnx.AttributeProto.Builder setType(Onnx.AttributeProto.AttributeType value)
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field heuristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accommodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Onnx.AttributeProto.Builder clearType()
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field heuristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accommodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;- Returns:
- This builder for chaining.
-
getF
public float getF()
Exactly ONE of the following fields must be present for this version of the IR
float f = 2;- Specified by:
getFin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The f.
-
setF
public Onnx.AttributeProto.Builder setF(float value)
Exactly ONE of the following fields must be present for this version of the IR
float f = 2;- Parameters:
value- The f to set.- Returns:
- This builder for chaining.
-
clearF
public Onnx.AttributeProto.Builder clearF()
Exactly ONE of the following fields must be present for this version of the IR
float f = 2;- Returns:
- This builder for chaining.
-
getI
public long getI()
int
int64 i = 3;- Specified by:
getIin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The i.
-
setI
public Onnx.AttributeProto.Builder setI(long value)
int
int64 i = 3;- Parameters:
value- The i to set.- Returns:
- This builder for chaining.
-
clearI
public Onnx.AttributeProto.Builder clearI()
int
int64 i = 3;- Returns:
- This builder for chaining.
-
getS
public org.nd4j.shade.protobuf.ByteString getS()
UTF-8 string
bytes s = 4;- Specified by:
getSin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The s.
-
setS
public Onnx.AttributeProto.Builder setS(org.nd4j.shade.protobuf.ByteString value)
UTF-8 string
bytes s = 4;- Parameters:
value- The s to set.- Returns:
- This builder for chaining.
-
clearS
public Onnx.AttributeProto.Builder clearS()
UTF-8 string
bytes s = 4;- Returns:
- This builder for chaining.
-
hasT
public boolean hasT()
tensor value
.onnx.TensorProto t = 5;- Specified by:
hasTin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the t field is set.
-
getT
public Onnx.TensorProto getT()
tensor value
.onnx.TensorProto t = 5;- Specified by:
getTin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The t.
-
setT
public Onnx.AttributeProto.Builder setT(Onnx.TensorProto value)
tensor value
.onnx.TensorProto t = 5;
-
setT
public Onnx.AttributeProto.Builder setT(Onnx.TensorProto.Builder builderForValue)
tensor value
.onnx.TensorProto t = 5;
-
mergeT
public Onnx.AttributeProto.Builder mergeT(Onnx.TensorProto value)
tensor value
.onnx.TensorProto t = 5;
-
clearT
public Onnx.AttributeProto.Builder clearT()
tensor value
.onnx.TensorProto t = 5;
-
getTBuilder
public Onnx.TensorProto.Builder getTBuilder()
tensor value
.onnx.TensorProto t = 5;
-
getTOrBuilder
public Onnx.TensorProtoOrBuilder getTOrBuilder()
tensor value
.onnx.TensorProto t = 5;- Specified by:
getTOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
hasG
public boolean hasG()
graph
.onnx.GraphProto g = 6;- Specified by:
hasGin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the g field is set.
-
getG
public Onnx.GraphProto getG()
graph
.onnx.GraphProto g = 6;- Specified by:
getGin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The g.
-
setG
public Onnx.AttributeProto.Builder setG(Onnx.GraphProto value)
graph
.onnx.GraphProto g = 6;
-
setG
public Onnx.AttributeProto.Builder setG(Onnx.GraphProto.Builder builderForValue)
graph
.onnx.GraphProto g = 6;
-
mergeG
public Onnx.AttributeProto.Builder mergeG(Onnx.GraphProto value)
graph
.onnx.GraphProto g = 6;
-
clearG
public Onnx.AttributeProto.Builder clearG()
graph
.onnx.GraphProto g = 6;
-
getGBuilder
public Onnx.GraphProto.Builder getGBuilder()
graph
.onnx.GraphProto g = 6;
-
getGOrBuilder
public Onnx.GraphProtoOrBuilder getGOrBuilder()
graph
.onnx.GraphProto g = 6;- Specified by:
getGOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
hasSparseTensor
public boolean hasSparseTensor()
sparse tensor value
.onnx.SparseTensorProto sparse_tensor = 22;- Specified by:
hasSparseTensorin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the sparseTensor field is set.
-
getSparseTensor
public Onnx.SparseTensorProto getSparseTensor()
sparse tensor value
.onnx.SparseTensorProto sparse_tensor = 22;- Specified by:
getSparseTensorin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The sparseTensor.
-
setSparseTensor
public Onnx.AttributeProto.Builder setSparseTensor(Onnx.SparseTensorProto value)
sparse tensor value
.onnx.SparseTensorProto sparse_tensor = 22;
-
setSparseTensor
public Onnx.AttributeProto.Builder setSparseTensor(Onnx.SparseTensorProto.Builder builderForValue)
sparse tensor value
.onnx.SparseTensorProto sparse_tensor = 22;
-
mergeSparseTensor
public Onnx.AttributeProto.Builder mergeSparseTensor(Onnx.SparseTensorProto value)
sparse tensor value
.onnx.SparseTensorProto sparse_tensor = 22;
-
clearSparseTensor
public Onnx.AttributeProto.Builder clearSparseTensor()
sparse tensor value
.onnx.SparseTensorProto sparse_tensor = 22;
-
getSparseTensorBuilder
public Onnx.SparseTensorProto.Builder getSparseTensorBuilder()
sparse tensor value
.onnx.SparseTensorProto sparse_tensor = 22;
-
getSparseTensorOrBuilder
public Onnx.SparseTensorProtoOrBuilder getSparseTensorOrBuilder()
sparse tensor value
.onnx.SparseTensorProto sparse_tensor = 22;- Specified by:
getSparseTensorOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
hasTp
public boolean hasTp()
Do not use field below, it's deprecated. optional ValueProto v = 12; // value - subsumes everything but graph
.onnx.TypeProto tp = 14;- Specified by:
hasTpin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the tp field is set.
-
getTp
public Onnx.TypeProto getTp()
Do not use field below, it's deprecated. optional ValueProto v = 12; // value - subsumes everything but graph
.onnx.TypeProto tp = 14;- Specified by:
getTpin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The tp.
-
setTp
public Onnx.AttributeProto.Builder setTp(Onnx.TypeProto value)
Do not use field below, it's deprecated. optional ValueProto v = 12; // value - subsumes everything but graph
.onnx.TypeProto tp = 14;
-
setTp
public Onnx.AttributeProto.Builder setTp(Onnx.TypeProto.Builder builderForValue)
Do not use field below, it's deprecated. optional ValueProto v = 12; // value - subsumes everything but graph
.onnx.TypeProto tp = 14;
-
mergeTp
public Onnx.AttributeProto.Builder mergeTp(Onnx.TypeProto value)
Do not use field below, it's deprecated. optional ValueProto v = 12; // value - subsumes everything but graph
.onnx.TypeProto tp = 14;
-
clearTp
public Onnx.AttributeProto.Builder clearTp()
Do not use field below, it's deprecated. optional ValueProto v = 12; // value - subsumes everything but graph
.onnx.TypeProto tp = 14;
-
getTpBuilder
public Onnx.TypeProto.Builder getTpBuilder()
Do not use field below, it's deprecated. optional ValueProto v = 12; // value - subsumes everything but graph
.onnx.TypeProto tp = 14;
-
getTpOrBuilder
public Onnx.TypeProtoOrBuilder getTpOrBuilder()
Do not use field below, it's deprecated. optional ValueProto v = 12; // value - subsumes everything but graph
.onnx.TypeProto tp = 14;- Specified by:
getTpOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
getFloatsList
public List<Float> getFloatsList()
list of floats
repeated float floats = 7;- Specified by:
getFloatsListin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- A list containing the floats.
-
getFloatsCount
public int getFloatsCount()
list of floats
repeated float floats = 7;- Specified by:
getFloatsCountin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The count of floats.
-
getFloats
public float getFloats(int index)
list of floats
repeated float floats = 7;- Specified by:
getFloatsin interfaceOnnx.AttributeProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The floats at the given index.
-
setFloats
public Onnx.AttributeProto.Builder setFloats(int index, float value)
list of floats
repeated float floats = 7;- Parameters:
index- The index to set the value at.value- The floats to set.- Returns:
- This builder for chaining.
-
addFloats
public Onnx.AttributeProto.Builder addFloats(float value)
list of floats
repeated float floats = 7;- Parameters:
value- The floats to add.- Returns:
- This builder for chaining.
-
addAllFloats
public Onnx.AttributeProto.Builder addAllFloats(Iterable<? extends Float> values)
list of floats
repeated float floats = 7;- Parameters:
values- The floats to add.- Returns:
- This builder for chaining.
-
clearFloats
public Onnx.AttributeProto.Builder clearFloats()
list of floats
repeated float floats = 7;- Returns:
- This builder for chaining.
-
getIntsList
public List<Long> getIntsList()
list of ints
repeated int64 ints = 8;- Specified by:
getIntsListin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- A list containing the ints.
-
getIntsCount
public int getIntsCount()
list of ints
repeated int64 ints = 8;- Specified by:
getIntsCountin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The count of ints.
-
getInts
public long getInts(int index)
list of ints
repeated int64 ints = 8;- Specified by:
getIntsin interfaceOnnx.AttributeProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ints at the given index.
-
setInts
public Onnx.AttributeProto.Builder setInts(int index, long value)
list of ints
repeated int64 ints = 8;- Parameters:
index- The index to set the value at.value- The ints to set.- Returns:
- This builder for chaining.
-
addInts
public Onnx.AttributeProto.Builder addInts(long value)
list of ints
repeated int64 ints = 8;- Parameters:
value- The ints to add.- Returns:
- This builder for chaining.
-
addAllInts
public Onnx.AttributeProto.Builder addAllInts(Iterable<? extends Long> values)
list of ints
repeated int64 ints = 8;- Parameters:
values- The ints to add.- Returns:
- This builder for chaining.
-
clearInts
public Onnx.AttributeProto.Builder clearInts()
list of ints
repeated int64 ints = 8;- Returns:
- This builder for chaining.
-
getStringsList
public List<org.nd4j.shade.protobuf.ByteString> getStringsList()
list of UTF-8 strings
repeated bytes strings = 9;- Specified by:
getStringsListin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- A list containing the strings.
-
getStringsCount
public int getStringsCount()
list of UTF-8 strings
repeated bytes strings = 9;- Specified by:
getStringsCountin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The count of strings.
-
getStrings
public org.nd4j.shade.protobuf.ByteString getStrings(int index)
list of UTF-8 strings
repeated bytes strings = 9;- Specified by:
getStringsin interfaceOnnx.AttributeProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The strings at the given index.
-
setStrings
public Onnx.AttributeProto.Builder setStrings(int index, org.nd4j.shade.protobuf.ByteString value)
list of UTF-8 strings
repeated bytes strings = 9;- Parameters:
index- The index to set the value at.value- The strings to set.- Returns:
- This builder for chaining.
-
addStrings
public Onnx.AttributeProto.Builder addStrings(org.nd4j.shade.protobuf.ByteString value)
list of UTF-8 strings
repeated bytes strings = 9;- Parameters:
value- The strings to add.- Returns:
- This builder for chaining.
-
addAllStrings
public Onnx.AttributeProto.Builder addAllStrings(Iterable<? extends org.nd4j.shade.protobuf.ByteString> values)
list of UTF-8 strings
repeated bytes strings = 9;- Parameters:
values- The strings to add.- Returns:
- This builder for chaining.
-
clearStrings
public Onnx.AttributeProto.Builder clearStrings()
list of UTF-8 strings
repeated bytes strings = 9;- Returns:
- This builder for chaining.
-
getTensorsList
public List<Onnx.TensorProto> getTensorsList()
list of tensors
repeated .onnx.TensorProto tensors = 10;- Specified by:
getTensorsListin interfaceOnnx.AttributeProtoOrBuilder
-
getTensorsCount
public int getTensorsCount()
list of tensors
repeated .onnx.TensorProto tensors = 10;- Specified by:
getTensorsCountin interfaceOnnx.AttributeProtoOrBuilder
-
getTensors
public Onnx.TensorProto getTensors(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;- Specified by:
getTensorsin interfaceOnnx.AttributeProtoOrBuilder
-
setTensors
public Onnx.AttributeProto.Builder setTensors(int index, Onnx.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
setTensors
public Onnx.AttributeProto.Builder setTensors(int index, Onnx.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
addTensors
public Onnx.AttributeProto.Builder addTensors(Onnx.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
addTensors
public Onnx.AttributeProto.Builder addTensors(int index, Onnx.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
addTensors
public Onnx.AttributeProto.Builder addTensors(Onnx.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
addTensors
public Onnx.AttributeProto.Builder addTensors(int index, Onnx.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
addAllTensors
public Onnx.AttributeProto.Builder addAllTensors(Iterable<? extends Onnx.TensorProto> values)
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
clearTensors
public Onnx.AttributeProto.Builder clearTensors()
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
removeTensors
public Onnx.AttributeProto.Builder removeTensors(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
getTensorsBuilder
public Onnx.TensorProto.Builder getTensorsBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
getTensorsOrBuilder
public Onnx.TensorProtoOrBuilder getTensorsOrBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;- Specified by:
getTensorsOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
getTensorsOrBuilderList
public List<? extends Onnx.TensorProtoOrBuilder> getTensorsOrBuilderList()
list of tensors
repeated .onnx.TensorProto tensors = 10;- Specified by:
getTensorsOrBuilderListin interfaceOnnx.AttributeProtoOrBuilder
-
addTensorsBuilder
public Onnx.TensorProto.Builder addTensorsBuilder()
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
addTensorsBuilder
public Onnx.TensorProto.Builder addTensorsBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
getTensorsBuilderList
public List<Onnx.TensorProto.Builder> getTensorsBuilderList()
list of tensors
repeated .onnx.TensorProto tensors = 10;
-
getGraphsList
public List<Onnx.GraphProto> getGraphsList()
list of graph
repeated .onnx.GraphProto graphs = 11;- Specified by:
getGraphsListin interfaceOnnx.AttributeProtoOrBuilder
-
getGraphsCount
public int getGraphsCount()
list of graph
repeated .onnx.GraphProto graphs = 11;- Specified by:
getGraphsCountin interfaceOnnx.AttributeProtoOrBuilder
-
getGraphs
public Onnx.GraphProto getGraphs(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;- Specified by:
getGraphsin interfaceOnnx.AttributeProtoOrBuilder
-
setGraphs
public Onnx.AttributeProto.Builder setGraphs(int index, Onnx.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;
-
setGraphs
public Onnx.AttributeProto.Builder setGraphs(int index, Onnx.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;
-
addGraphs
public Onnx.AttributeProto.Builder addGraphs(Onnx.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;
-
addGraphs
public Onnx.AttributeProto.Builder addGraphs(int index, Onnx.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;
-
addGraphs
public Onnx.AttributeProto.Builder addGraphs(Onnx.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;
-
addGraphs
public Onnx.AttributeProto.Builder addGraphs(int index, Onnx.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;
-
addAllGraphs
public Onnx.AttributeProto.Builder addAllGraphs(Iterable<? extends Onnx.GraphProto> values)
list of graph
repeated .onnx.GraphProto graphs = 11;
-
clearGraphs
public Onnx.AttributeProto.Builder clearGraphs()
list of graph
repeated .onnx.GraphProto graphs = 11;
-
removeGraphs
public Onnx.AttributeProto.Builder removeGraphs(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
-
getGraphsBuilder
public Onnx.GraphProto.Builder getGraphsBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
-
getGraphsOrBuilder
public Onnx.GraphProtoOrBuilder getGraphsOrBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;- Specified by:
getGraphsOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
getGraphsOrBuilderList
public List<? extends Onnx.GraphProtoOrBuilder> getGraphsOrBuilderList()
list of graph
repeated .onnx.GraphProto graphs = 11;- Specified by:
getGraphsOrBuilderListin interfaceOnnx.AttributeProtoOrBuilder
-
addGraphsBuilder
public Onnx.GraphProto.Builder addGraphsBuilder()
list of graph
repeated .onnx.GraphProto graphs = 11;
-
addGraphsBuilder
public Onnx.GraphProto.Builder addGraphsBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
-
getGraphsBuilderList
public List<Onnx.GraphProto.Builder> getGraphsBuilderList()
list of graph
repeated .onnx.GraphProto graphs = 11;
-
getSparseTensorsList
public List<Onnx.SparseTensorProto> getSparseTensorsList()
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;- Specified by:
getSparseTensorsListin interfaceOnnx.AttributeProtoOrBuilder
-
getSparseTensorsCount
public int getSparseTensorsCount()
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;- Specified by:
getSparseTensorsCountin interfaceOnnx.AttributeProtoOrBuilder
-
getSparseTensors
public Onnx.SparseTensorProto getSparseTensors(int index)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;- Specified by:
getSparseTensorsin interfaceOnnx.AttributeProtoOrBuilder
-
setSparseTensors
public Onnx.AttributeProto.Builder setSparseTensors(int index, Onnx.SparseTensorProto value)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
setSparseTensors
public Onnx.AttributeProto.Builder setSparseTensors(int index, Onnx.SparseTensorProto.Builder builderForValue)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
addSparseTensors
public Onnx.AttributeProto.Builder addSparseTensors(Onnx.SparseTensorProto value)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
addSparseTensors
public Onnx.AttributeProto.Builder addSparseTensors(int index, Onnx.SparseTensorProto value)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
addSparseTensors
public Onnx.AttributeProto.Builder addSparseTensors(Onnx.SparseTensorProto.Builder builderForValue)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
addSparseTensors
public Onnx.AttributeProto.Builder addSparseTensors(int index, Onnx.SparseTensorProto.Builder builderForValue)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
addAllSparseTensors
public Onnx.AttributeProto.Builder addAllSparseTensors(Iterable<? extends Onnx.SparseTensorProto> values)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
clearSparseTensors
public Onnx.AttributeProto.Builder clearSparseTensors()
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
removeSparseTensors
public Onnx.AttributeProto.Builder removeSparseTensors(int index)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
getSparseTensorsBuilder
public Onnx.SparseTensorProto.Builder getSparseTensorsBuilder(int index)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
getSparseTensorsOrBuilder
public Onnx.SparseTensorProtoOrBuilder getSparseTensorsOrBuilder(int index)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;- Specified by:
getSparseTensorsOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
getSparseTensorsOrBuilderList
public List<? extends Onnx.SparseTensorProtoOrBuilder> getSparseTensorsOrBuilderList()
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;- Specified by:
getSparseTensorsOrBuilderListin interfaceOnnx.AttributeProtoOrBuilder
-
addSparseTensorsBuilder
public Onnx.SparseTensorProto.Builder addSparseTensorsBuilder()
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
addSparseTensorsBuilder
public Onnx.SparseTensorProto.Builder addSparseTensorsBuilder(int index)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
getSparseTensorsBuilderList
public List<Onnx.SparseTensorProto.Builder> getSparseTensorsBuilderList()
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;
-
getTypeProtosList
public List<Onnx.TypeProto> getTypeProtosList()
list of type protos
repeated .onnx.TypeProto type_protos = 15;- Specified by:
getTypeProtosListin interfaceOnnx.AttributeProtoOrBuilder
-
getTypeProtosCount
public int getTypeProtosCount()
list of type protos
repeated .onnx.TypeProto type_protos = 15;- Specified by:
getTypeProtosCountin interfaceOnnx.AttributeProtoOrBuilder
-
getTypeProtos
public Onnx.TypeProto getTypeProtos(int index)
list of type protos
repeated .onnx.TypeProto type_protos = 15;- Specified by:
getTypeProtosin interfaceOnnx.AttributeProtoOrBuilder
-
setTypeProtos
public Onnx.AttributeProto.Builder setTypeProtos(int index, Onnx.TypeProto value)
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
setTypeProtos
public Onnx.AttributeProto.Builder setTypeProtos(int index, Onnx.TypeProto.Builder builderForValue)
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
addTypeProtos
public Onnx.AttributeProto.Builder addTypeProtos(Onnx.TypeProto value)
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
addTypeProtos
public Onnx.AttributeProto.Builder addTypeProtos(int index, Onnx.TypeProto value)
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
addTypeProtos
public Onnx.AttributeProto.Builder addTypeProtos(Onnx.TypeProto.Builder builderForValue)
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
addTypeProtos
public Onnx.AttributeProto.Builder addTypeProtos(int index, Onnx.TypeProto.Builder builderForValue)
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
addAllTypeProtos
public Onnx.AttributeProto.Builder addAllTypeProtos(Iterable<? extends Onnx.TypeProto> values)
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
clearTypeProtos
public Onnx.AttributeProto.Builder clearTypeProtos()
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
removeTypeProtos
public Onnx.AttributeProto.Builder removeTypeProtos(int index)
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
getTypeProtosBuilder
public Onnx.TypeProto.Builder getTypeProtosBuilder(int index)
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
getTypeProtosOrBuilder
public Onnx.TypeProtoOrBuilder getTypeProtosOrBuilder(int index)
list of type protos
repeated .onnx.TypeProto type_protos = 15;- Specified by:
getTypeProtosOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
getTypeProtosOrBuilderList
public List<? extends Onnx.TypeProtoOrBuilder> getTypeProtosOrBuilderList()
list of type protos
repeated .onnx.TypeProto type_protos = 15;- Specified by:
getTypeProtosOrBuilderListin interfaceOnnx.AttributeProtoOrBuilder
-
addTypeProtosBuilder
public Onnx.TypeProto.Builder addTypeProtosBuilder()
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
addTypeProtosBuilder
public Onnx.TypeProto.Builder addTypeProtosBuilder(int index)
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
getTypeProtosBuilderList
public List<Onnx.TypeProto.Builder> getTypeProtosBuilderList()
list of type protos
repeated .onnx.TypeProto type_protos = 15;
-
setUnknownFields
public final Onnx.AttributeProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
mergeUnknownFields
public final Onnx.AttributeProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
-
-