Package onnx
Class OnnxMl.NodeProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.NodeProto.Builder>
-
- onnx.OnnxMl.NodeProto.Builder
-
- All Implemented Interfaces:
Cloneable,OnnxMl.NodeProtoOrBuilder,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- OnnxMl.NodeProto
public static final class OnnxMl.NodeProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.NodeProto.Builder> implements OnnxMl.NodeProtoOrBuilder
Nodes Computation graphs are made up of a DAG of nodes, which represent what is commonly called a "layer" or "pipeline stage" in machine learning frameworks. For example, it can be a node of type "Conv" that takes in an image, a filter tensor and a bias tensor, and produces the convolved output.
Protobuf typeonnx.NodeProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OnnxMl.NodeProto.BuilderaddAllAttribute(Iterable<? extends OnnxMl.AttributeProto> values)Additional named attributes.OnnxMl.NodeProto.BuilderaddAllInput(Iterable<String> values)namespace ValueOnnxMl.NodeProto.BuilderaddAllOutput(Iterable<String> values)namespace ValueOnnxMl.NodeProto.BuilderaddAttribute(int index, OnnxMl.AttributeProto value)Additional named attributes.OnnxMl.NodeProto.BuilderaddAttribute(int index, OnnxMl.AttributeProto.Builder builderForValue)Additional named attributes.OnnxMl.NodeProto.BuilderaddAttribute(OnnxMl.AttributeProto value)Additional named attributes.OnnxMl.NodeProto.BuilderaddAttribute(OnnxMl.AttributeProto.Builder builderForValue)Additional named attributes.OnnxMl.AttributeProto.BuilderaddAttributeBuilder()Additional named attributes.OnnxMl.AttributeProto.BuilderaddAttributeBuilder(int index)Additional named attributes.OnnxMl.NodeProto.BuilderaddInput(String value)namespace ValueOnnxMl.NodeProto.BuilderaddInputBytes(org.nd4j.shade.protobuf.ByteString value)namespace ValueOnnxMl.NodeProto.BuilderaddOutput(String value)namespace ValueOnnxMl.NodeProto.BuilderaddOutputBytes(org.nd4j.shade.protobuf.ByteString value)namespace ValueOnnxMl.NodeProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)OnnxMl.NodeProtobuild()OnnxMl.NodeProtobuildPartial()OnnxMl.NodeProto.Builderclear()OnnxMl.NodeProto.BuilderclearAttribute()Additional named attributes.OnnxMl.NodeProto.BuilderclearDocString()A human-readable documentation for this node.OnnxMl.NodeProto.BuilderclearDomain()The domain of the OperatorSet that specifies the operator named by op_type.OnnxMl.NodeProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)OnnxMl.NodeProto.BuilderclearInput()namespace ValueOnnxMl.NodeProto.BuilderclearName()An optional identifier for this node in a graph.OnnxMl.NodeProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)OnnxMl.NodeProto.BuilderclearOpType()The symbolic identifier of the Operator to execute.OnnxMl.NodeProto.BuilderclearOutput()namespace ValueOnnxMl.NodeProto.Builderclone()OnnxMl.AttributeProtogetAttribute(int index)Additional named attributes.OnnxMl.AttributeProto.BuildergetAttributeBuilder(int index)Additional named attributes.List<OnnxMl.AttributeProto.Builder>getAttributeBuilderList()Additional named attributes.intgetAttributeCount()Additional named attributes.List<OnnxMl.AttributeProto>getAttributeList()Additional named attributes.OnnxMl.AttributeProtoOrBuildergetAttributeOrBuilder(int index)Additional named attributes.List<? extends OnnxMl.AttributeProtoOrBuilder>getAttributeOrBuilderList()Additional named attributes.OnnxMl.NodeProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDocString()A human-readable documentation for this node.org.nd4j.shade.protobuf.ByteStringgetDocStringBytes()A human-readable documentation for this node.StringgetDomain()The domain of the OperatorSet that specifies the operator named by op_type.org.nd4j.shade.protobuf.ByteStringgetDomainBytes()The domain of the OperatorSet that specifies the operator named by op_type.StringgetInput(int index)namespace Valueorg.nd4j.shade.protobuf.ByteStringgetInputBytes(int index)namespace ValueintgetInputCount()namespace Valueorg.nd4j.shade.protobuf.ProtocolStringListgetInputList()namespace ValueStringgetName()An optional identifier for this node in a graph.org.nd4j.shade.protobuf.ByteStringgetNameBytes()An optional identifier for this node in a graph.StringgetOpType()The symbolic identifier of the Operator to execute.org.nd4j.shade.protobuf.ByteStringgetOpTypeBytes()The symbolic identifier of the Operator to execute.StringgetOutput(int index)namespace Valueorg.nd4j.shade.protobuf.ByteStringgetOutputBytes(int index)namespace ValueintgetOutputCount()namespace Valueorg.nd4j.shade.protobuf.ProtocolStringListgetOutputList()namespace Valueprotected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OnnxMl.NodeProto.BuildermergeFrom(OnnxMl.NodeProto other)OnnxMl.NodeProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)OnnxMl.NodeProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)OnnxMl.NodeProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)OnnxMl.NodeProto.BuilderremoveAttribute(int index)Additional named attributes.OnnxMl.NodeProto.BuildersetAttribute(int index, OnnxMl.AttributeProto value)Additional named attributes.OnnxMl.NodeProto.BuildersetAttribute(int index, OnnxMl.AttributeProto.Builder builderForValue)Additional named attributes.OnnxMl.NodeProto.BuildersetDocString(String value)A human-readable documentation for this node.OnnxMl.NodeProto.BuildersetDocStringBytes(org.nd4j.shade.protobuf.ByteString value)A human-readable documentation for this node.OnnxMl.NodeProto.BuildersetDomain(String value)The domain of the OperatorSet that specifies the operator named by op_type.OnnxMl.NodeProto.BuildersetDomainBytes(org.nd4j.shade.protobuf.ByteString value)The domain of the OperatorSet that specifies the operator named by op_type.OnnxMl.NodeProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)OnnxMl.NodeProto.BuildersetInput(int index, String value)namespace ValueOnnxMl.NodeProto.BuildersetName(String value)An optional identifier for this node in a graph.OnnxMl.NodeProto.BuildersetNameBytes(org.nd4j.shade.protobuf.ByteString value)An optional identifier for this node in a graph.OnnxMl.NodeProto.BuildersetOpType(String value)The symbolic identifier of the Operator to execute.OnnxMl.NodeProto.BuildersetOpTypeBytes(org.nd4j.shade.protobuf.ByteString value)The symbolic identifier of the Operator to execute.OnnxMl.NodeProto.BuildersetOutput(int index, String value)namespace ValueOnnxMl.NodeProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>
-
clear
public OnnxMl.NodeProto.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<OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>
-
getDefaultInstanceForType
public OnnxMl.NodeProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public OnnxMl.NodeProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public OnnxMl.NodeProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>
-
setField
public OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>
-
clearField
public OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>
-
clearOneof
public OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>
-
setRepeatedField
public OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>
-
addRepeatedField
public OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>
-
mergeFrom
public OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>
-
mergeFrom
public OnnxMl.NodeProto.Builder mergeFrom(OnnxMl.NodeProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.NodeProto.Builder>
-
mergeFrom
public OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>- Throws:
IOException
-
getInputList
public org.nd4j.shade.protobuf.ProtocolStringList getInputList()
namespace Value
repeated string input = 1;- Specified by:
getInputListin interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- A list containing the input.
-
getInputCount
public int getInputCount()
namespace Value
repeated string input = 1;- Specified by:
getInputCountin interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- The count of input.
-
getInput
public String getInput(int index)
namespace Value
repeated string input = 1;- Specified by:
getInputin interfaceOnnxMl.NodeProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The input at the given index.
-
getInputBytes
public org.nd4j.shade.protobuf.ByteString getInputBytes(int index)
namespace Value
repeated string input = 1;- Specified by:
getInputBytesin interfaceOnnxMl.NodeProtoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the input at the given index.
-
setInput
public OnnxMl.NodeProto.Builder setInput(int index, String value)
namespace Value
repeated string input = 1;- Parameters:
index- The index to set the value at.value- The input to set.- Returns:
- This builder for chaining.
-
addInput
public OnnxMl.NodeProto.Builder addInput(String value)
namespace Value
repeated string input = 1;- Parameters:
value- The input to add.- Returns:
- This builder for chaining.
-
addAllInput
public OnnxMl.NodeProto.Builder addAllInput(Iterable<String> values)
namespace Value
repeated string input = 1;- Parameters:
values- The input to add.- Returns:
- This builder for chaining.
-
clearInput
public OnnxMl.NodeProto.Builder clearInput()
namespace Value
repeated string input = 1;- Returns:
- This builder for chaining.
-
addInputBytes
public OnnxMl.NodeProto.Builder addInputBytes(org.nd4j.shade.protobuf.ByteString value)
namespace Value
repeated string input = 1;- Parameters:
value- The bytes of the input to add.- Returns:
- This builder for chaining.
-
getOutputList
public org.nd4j.shade.protobuf.ProtocolStringList getOutputList()
namespace Value
repeated string output = 2;- Specified by:
getOutputListin interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- A list containing the output.
-
getOutputCount
public int getOutputCount()
namespace Value
repeated string output = 2;- Specified by:
getOutputCountin interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- The count of output.
-
getOutput
public String getOutput(int index)
namespace Value
repeated string output = 2;- Specified by:
getOutputin interfaceOnnxMl.NodeProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The output at the given index.
-
getOutputBytes
public org.nd4j.shade.protobuf.ByteString getOutputBytes(int index)
namespace Value
repeated string output = 2;- Specified by:
getOutputBytesin interfaceOnnxMl.NodeProtoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the output at the given index.
-
setOutput
public OnnxMl.NodeProto.Builder setOutput(int index, String value)
namespace Value
repeated string output = 2;- Parameters:
index- The index to set the value at.value- The output to set.- Returns:
- This builder for chaining.
-
addOutput
public OnnxMl.NodeProto.Builder addOutput(String value)
namespace Value
repeated string output = 2;- Parameters:
value- The output to add.- Returns:
- This builder for chaining.
-
addAllOutput
public OnnxMl.NodeProto.Builder addAllOutput(Iterable<String> values)
namespace Value
repeated string output = 2;- Parameters:
values- The output to add.- Returns:
- This builder for chaining.
-
clearOutput
public OnnxMl.NodeProto.Builder clearOutput()
namespace Value
repeated string output = 2;- Returns:
- This builder for chaining.
-
addOutputBytes
public OnnxMl.NodeProto.Builder addOutputBytes(org.nd4j.shade.protobuf.ByteString value)
namespace Value
repeated string output = 2;- Parameters:
value- The bytes of the output to add.- Returns:
- This builder for chaining.
-
getName
public String getName()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
string name = 3;- Specified by:
getNamein interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
string name = 3;- Specified by:
getNameBytesin interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- The bytes for name.
-
setName
public OnnxMl.NodeProto.Builder setName(String value)
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
string name = 3;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public OnnxMl.NodeProto.Builder clearName()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
string name = 3;- Returns:
- This builder for chaining.
-
setNameBytes
public OnnxMl.NodeProto.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
string name = 3;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getOpType
public String getOpType()
The symbolic identifier of the Operator to execute.
string op_type = 4;- Specified by:
getOpTypein interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- The opType.
-
getOpTypeBytes
public org.nd4j.shade.protobuf.ByteString getOpTypeBytes()
The symbolic identifier of the Operator to execute.
string op_type = 4;- Specified by:
getOpTypeBytesin interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- The bytes for opType.
-
setOpType
public OnnxMl.NodeProto.Builder setOpType(String value)
The symbolic identifier of the Operator to execute.
string op_type = 4;- Parameters:
value- The opType to set.- Returns:
- This builder for chaining.
-
clearOpType
public OnnxMl.NodeProto.Builder clearOpType()
The symbolic identifier of the Operator to execute.
string op_type = 4;- Returns:
- This builder for chaining.
-
setOpTypeBytes
public OnnxMl.NodeProto.Builder setOpTypeBytes(org.nd4j.shade.protobuf.ByteString value)
The symbolic identifier of the Operator to execute.
string op_type = 4;- Parameters:
value- The bytes for opType to set.- Returns:
- This builder for chaining.
-
getDomain
public String getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;- Specified by:
getDomainin interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- The domain.
-
getDomainBytes
public org.nd4j.shade.protobuf.ByteString getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;- Specified by:
getDomainBytesin interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- The bytes for domain.
-
setDomain
public OnnxMl.NodeProto.Builder setDomain(String value)
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;- Parameters:
value- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
public OnnxMl.NodeProto.Builder clearDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;- Returns:
- This builder for chaining.
-
setDomainBytes
public OnnxMl.NodeProto.Builder setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;- Parameters:
value- The bytes for domain to set.- Returns:
- This builder for chaining.
-
getAttributeList
public List<OnnxMl.AttributeProto> getAttributeList()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;- Specified by:
getAttributeListin interfaceOnnxMl.NodeProtoOrBuilder
-
getAttributeCount
public int getAttributeCount()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;- Specified by:
getAttributeCountin interfaceOnnxMl.NodeProtoOrBuilder
-
getAttribute
public OnnxMl.AttributeProto getAttribute(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;- Specified by:
getAttributein interfaceOnnxMl.NodeProtoOrBuilder
-
setAttribute
public OnnxMl.NodeProto.Builder setAttribute(int index, OnnxMl.AttributeProto value)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
setAttribute
public OnnxMl.NodeProto.Builder setAttribute(int index, OnnxMl.AttributeProto.Builder builderForValue)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAttribute
public OnnxMl.NodeProto.Builder addAttribute(OnnxMl.AttributeProto value)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAttribute
public OnnxMl.NodeProto.Builder addAttribute(int index, OnnxMl.AttributeProto value)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAttribute
public OnnxMl.NodeProto.Builder addAttribute(OnnxMl.AttributeProto.Builder builderForValue)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAttribute
public OnnxMl.NodeProto.Builder addAttribute(int index, OnnxMl.AttributeProto.Builder builderForValue)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAllAttribute
public OnnxMl.NodeProto.Builder addAllAttribute(Iterable<? extends OnnxMl.AttributeProto> values)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
clearAttribute
public OnnxMl.NodeProto.Builder clearAttribute()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
removeAttribute
public OnnxMl.NodeProto.Builder removeAttribute(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeBuilder
public OnnxMl.AttributeProto.Builder getAttributeBuilder(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeOrBuilder
public OnnxMl.AttributeProtoOrBuilder getAttributeOrBuilder(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;- Specified by:
getAttributeOrBuilderin interfaceOnnxMl.NodeProtoOrBuilder
-
getAttributeOrBuilderList
public List<? extends OnnxMl.AttributeProtoOrBuilder> getAttributeOrBuilderList()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;- Specified by:
getAttributeOrBuilderListin interfaceOnnxMl.NodeProtoOrBuilder
-
addAttributeBuilder
public OnnxMl.AttributeProto.Builder addAttributeBuilder()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAttributeBuilder
public OnnxMl.AttributeProto.Builder addAttributeBuilder(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeBuilderList
public List<OnnxMl.AttributeProto.Builder> getAttributeBuilderList()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getDocString
public String getDocString()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;- Specified by:
getDocStringin interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;- Specified by:
getDocStringBytesin interfaceOnnxMl.NodeProtoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
public OnnxMl.NodeProto.Builder setDocString(String value)
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;- Parameters:
value- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
public OnnxMl.NodeProto.Builder clearDocString()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;- Returns:
- This builder for chaining.
-
setDocStringBytes
public OnnxMl.NodeProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;- Parameters:
value- The bytes for docString to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>
-
mergeUnknownFields
public final OnnxMl.NodeProto.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<OnnxMl.NodeProto.Builder>
-
-