Package onnx
Class Onnx.NodeProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
- onnx.Onnx.NodeProto.Builder
-
- All Implemented Interfaces:
Cloneable
,Onnx.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:
- Onnx.NodeProto
public static final class Onnx.NodeProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder> implements Onnx.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 Onnx.NodeProto.Builder
addAllAttribute(Iterable<? extends Onnx.AttributeProto> values)
Additional named attributes.Onnx.NodeProto.Builder
addAllInput(Iterable<String> values)
namespace ValueOnnx.NodeProto.Builder
addAllOutput(Iterable<String> values)
namespace ValueOnnx.NodeProto.Builder
addAttribute(int index, Onnx.AttributeProto value)
Additional named attributes.Onnx.NodeProto.Builder
addAttribute(int index, Onnx.AttributeProto.Builder builderForValue)
Additional named attributes.Onnx.NodeProto.Builder
addAttribute(Onnx.AttributeProto value)
Additional named attributes.Onnx.NodeProto.Builder
addAttribute(Onnx.AttributeProto.Builder builderForValue)
Additional named attributes.Onnx.AttributeProto.Builder
addAttributeBuilder()
Additional named attributes.Onnx.AttributeProto.Builder
addAttributeBuilder(int index)
Additional named attributes.Onnx.NodeProto.Builder
addInput(String value)
namespace ValueOnnx.NodeProto.Builder
addInputBytes(org.nd4j.shade.protobuf.ByteString value)
namespace ValueOnnx.NodeProto.Builder
addOutput(String value)
namespace ValueOnnx.NodeProto.Builder
addOutputBytes(org.nd4j.shade.protobuf.ByteString value)
namespace ValueOnnx.NodeProto.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.NodeProto
build()
Onnx.NodeProto
buildPartial()
Onnx.NodeProto.Builder
clear()
Onnx.NodeProto.Builder
clearAttribute()
Additional named attributes.Onnx.NodeProto.Builder
clearDocString()
A human-readable documentation for this node.Onnx.NodeProto.Builder
clearDomain()
The domain of the OperatorSet that specifies the operator named by op_type.Onnx.NodeProto.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
Onnx.NodeProto.Builder
clearInput()
namespace ValueOnnx.NodeProto.Builder
clearName()
An optional identifier for this node in a graph.Onnx.NodeProto.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
Onnx.NodeProto.Builder
clearOpType()
The symbolic identifier of the Operator to execute.Onnx.NodeProto.Builder
clearOutput()
namespace ValueOnnx.NodeProto.Builder
clone()
Onnx.AttributeProto
getAttribute(int index)
Additional named attributes.Onnx.AttributeProto.Builder
getAttributeBuilder(int index)
Additional named attributes.List<Onnx.AttributeProto.Builder>
getAttributeBuilderList()
Additional named attributes.int
getAttributeCount()
Additional named attributes.List<Onnx.AttributeProto>
getAttributeList()
Additional named attributes.Onnx.AttributeProtoOrBuilder
getAttributeOrBuilder(int index)
Additional named attributes.List<? extends Onnx.AttributeProtoOrBuilder>
getAttributeOrBuilderList()
Additional named attributes.Onnx.NodeProto
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDocString()
A human-readable documentation for this node.org.nd4j.shade.protobuf.ByteString
getDocStringBytes()
A human-readable documentation for this node.String
getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.org.nd4j.shade.protobuf.ByteString
getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.String
getInput(int index)
namespace Valueorg.nd4j.shade.protobuf.ByteString
getInputBytes(int index)
namespace Valueint
getInputCount()
namespace Valueorg.nd4j.shade.protobuf.ProtocolStringList
getInputList()
namespace ValueString
getName()
An optional identifier for this node in a graph.org.nd4j.shade.protobuf.ByteString
getNameBytes()
An optional identifier for this node in a graph.String
getOpType()
The symbolic identifier of the Operator to execute.org.nd4j.shade.protobuf.ByteString
getOpTypeBytes()
The symbolic identifier of the Operator to execute.String
getOutput(int index)
namespace Valueorg.nd4j.shade.protobuf.ByteString
getOutputBytes(int index)
namespace Valueint
getOutputCount()
namespace Valueorg.nd4j.shade.protobuf.ProtocolStringList
getOutputList()
namespace Valueprotected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Onnx.NodeProto.Builder
mergeFrom(Onnx.NodeProto other)
Onnx.NodeProto.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
Onnx.NodeProto.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
Onnx.NodeProto.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
Onnx.NodeProto.Builder
removeAttribute(int index)
Additional named attributes.Onnx.NodeProto.Builder
setAttribute(int index, Onnx.AttributeProto value)
Additional named attributes.Onnx.NodeProto.Builder
setAttribute(int index, Onnx.AttributeProto.Builder builderForValue)
Additional named attributes.Onnx.NodeProto.Builder
setDocString(String value)
A human-readable documentation for this node.Onnx.NodeProto.Builder
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this node.Onnx.NodeProto.Builder
setDomain(String value)
The domain of the OperatorSet that specifies the operator named by op_type.Onnx.NodeProto.Builder
setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
The domain of the OperatorSet that specifies the operator named by op_type.Onnx.NodeProto.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.NodeProto.Builder
setInput(int index, String value)
namespace ValueOnnx.NodeProto.Builder
setName(String value)
An optional identifier for this node in a graph.Onnx.NodeProto.Builder
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
An optional identifier for this node in a graph.Onnx.NodeProto.Builder
setOpType(String value)
The symbolic identifier of the Operator to execute.Onnx.NodeProto.Builder
setOpTypeBytes(org.nd4j.shade.protobuf.ByteString value)
The symbolic identifier of the Operator to execute.Onnx.NodeProto.Builder
setOutput(int index, String value)
namespace ValueOnnx.NodeProto.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Onnx.NodeProto.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
clear
public Onnx.NodeProto.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
getDefaultInstanceForType
public Onnx.NodeProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.NodeProto build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.NodeProto buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.NodeProto.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
setField
public Onnx.NodeProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
clearField
public Onnx.NodeProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
clearOneof
public Onnx.NodeProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
setRepeatedField
public Onnx.NodeProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
addRepeatedField
public Onnx.NodeProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
mergeFrom
public Onnx.NodeProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.NodeProto.Builder>
-
mergeFrom
public Onnx.NodeProto.Builder mergeFrom(Onnx.NodeProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
mergeFrom
public Onnx.NodeProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.NodeProto.Builder>
- Throws:
IOException
-
getInputList
public org.nd4j.shade.protobuf.ProtocolStringList getInputList()
namespace Value
repeated string input = 1;
- Specified by:
getInputList
in interfaceOnnx.NodeProtoOrBuilder
- Returns:
- A list containing the input.
-
getInputCount
public int getInputCount()
namespace Value
repeated string input = 1;
- Specified by:
getInputCount
in interfaceOnnx.NodeProtoOrBuilder
- Returns:
- The count of input.
-
getInput
public String getInput(int index)
namespace Value
repeated string input = 1;
- Specified by:
getInput
in interfaceOnnx.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:
getInputBytes
in interfaceOnnx.NodeProtoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the input at the given index.
-
setInput
public Onnx.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 Onnx.NodeProto.Builder addInput(String value)
namespace Value
repeated string input = 1;
- Parameters:
value
- The input to add.- Returns:
- This builder for chaining.
-
addAllInput
public Onnx.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 Onnx.NodeProto.Builder clearInput()
namespace Value
repeated string input = 1;
- Returns:
- This builder for chaining.
-
addInputBytes
public Onnx.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:
getOutputList
in interfaceOnnx.NodeProtoOrBuilder
- Returns:
- A list containing the output.
-
getOutputCount
public int getOutputCount()
namespace Value
repeated string output = 2;
- Specified by:
getOutputCount
in interfaceOnnx.NodeProtoOrBuilder
- Returns:
- The count of output.
-
getOutput
public String getOutput(int index)
namespace Value
repeated string output = 2;
- Specified by:
getOutput
in interfaceOnnx.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:
getOutputBytes
in interfaceOnnx.NodeProtoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the output at the given index.
-
setOutput
public Onnx.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 Onnx.NodeProto.Builder addOutput(String value)
namespace Value
repeated string output = 2;
- Parameters:
value
- The output to add.- Returns:
- This builder for chaining.
-
addAllOutput
public Onnx.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 Onnx.NodeProto.Builder clearOutput()
namespace Value
repeated string output = 2;
- Returns:
- This builder for chaining.
-
addOutputBytes
public Onnx.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:
getName
in interfaceOnnx.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:
getNameBytes
in interfaceOnnx.NodeProtoOrBuilder
- Returns:
- The bytes for name.
-
setName
public Onnx.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 Onnx.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 Onnx.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:
getOpType
in interfaceOnnx.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:
getOpTypeBytes
in interfaceOnnx.NodeProtoOrBuilder
- Returns:
- The bytes for opType.
-
setOpType
public Onnx.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 Onnx.NodeProto.Builder clearOpType()
The symbolic identifier of the Operator to execute.
string op_type = 4;
- Returns:
- This builder for chaining.
-
setOpTypeBytes
public Onnx.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:
getDomain
in interfaceOnnx.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:
getDomainBytes
in interfaceOnnx.NodeProtoOrBuilder
- Returns:
- The bytes for domain.
-
setDomain
public Onnx.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 Onnx.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 Onnx.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<Onnx.AttributeProto> getAttributeList()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
- Specified by:
getAttributeList
in interfaceOnnx.NodeProtoOrBuilder
-
getAttributeCount
public int getAttributeCount()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
- Specified by:
getAttributeCount
in interfaceOnnx.NodeProtoOrBuilder
-
getAttribute
public Onnx.AttributeProto getAttribute(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
- Specified by:
getAttribute
in interfaceOnnx.NodeProtoOrBuilder
-
setAttribute
public Onnx.NodeProto.Builder setAttribute(int index, Onnx.AttributeProto value)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
setAttribute
public Onnx.NodeProto.Builder setAttribute(int index, Onnx.AttributeProto.Builder builderForValue)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAttribute
public Onnx.NodeProto.Builder addAttribute(Onnx.AttributeProto value)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAttribute
public Onnx.NodeProto.Builder addAttribute(int index, Onnx.AttributeProto value)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAttribute
public Onnx.NodeProto.Builder addAttribute(Onnx.AttributeProto.Builder builderForValue)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAttribute
public Onnx.NodeProto.Builder addAttribute(int index, Onnx.AttributeProto.Builder builderForValue)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAllAttribute
public Onnx.NodeProto.Builder addAllAttribute(Iterable<? extends Onnx.AttributeProto> values)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
clearAttribute
public Onnx.NodeProto.Builder clearAttribute()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
removeAttribute
public Onnx.NodeProto.Builder removeAttribute(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeBuilder
public Onnx.AttributeProto.Builder getAttributeBuilder(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeOrBuilder
public Onnx.AttributeProtoOrBuilder getAttributeOrBuilder(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
- Specified by:
getAttributeOrBuilder
in interfaceOnnx.NodeProtoOrBuilder
-
getAttributeOrBuilderList
public List<? extends Onnx.AttributeProtoOrBuilder> getAttributeOrBuilderList()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
- Specified by:
getAttributeOrBuilderList
in interfaceOnnx.NodeProtoOrBuilder
-
addAttributeBuilder
public Onnx.AttributeProto.Builder addAttributeBuilder()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
addAttributeBuilder
public Onnx.AttributeProto.Builder addAttributeBuilder(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeBuilderList
public List<Onnx.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:
getDocString
in interfaceOnnx.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:
getDocStringBytes
in interfaceOnnx.NodeProtoOrBuilder
- Returns:
- The bytes for docString.
-
setDocString
public Onnx.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 Onnx.NodeProto.Builder clearDocString()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;
- Returns:
- This builder for chaining.
-
setDocStringBytes
public Onnx.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 Onnx.NodeProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
mergeUnknownFields
public final Onnx.NodeProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.NodeProto.Builder>
-
-