Package onnx
Class Onnx.FunctionProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
- onnx.Onnx.FunctionProto.Builder
-
- All Implemented Interfaces:
Cloneable,Onnx.FunctionProtoOrBuilder,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.FunctionProto
public static final class Onnx.FunctionProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder> implements Onnx.FunctionProtoOrBuilder
Protobuf typeonnx.FunctionProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Onnx.FunctionProto.BuilderaddAllAttribute(Iterable<String> values)The attributes of the function.Onnx.FunctionProto.BuilderaddAllInput(Iterable<String> values)The inputs and outputs of the function.Onnx.FunctionProto.BuilderaddAllNode(Iterable<? extends Onnx.NodeProto> values)The nodes in the function.Onnx.FunctionProto.BuilderaddAllOpsetImport(Iterable<? extends Onnx.OperatorSetIdProto> values)repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.FunctionProto.BuilderaddAllOutput(Iterable<String> values)repeated string output = 5;Onnx.FunctionProto.BuilderaddAttribute(String value)The attributes of the function.Onnx.FunctionProto.BuilderaddAttributeBytes(org.nd4j.shade.protobuf.ByteString value)The attributes of the function.Onnx.FunctionProto.BuilderaddInput(String value)The inputs and outputs of the function.Onnx.FunctionProto.BuilderaddInputBytes(org.nd4j.shade.protobuf.ByteString value)The inputs and outputs of the function.Onnx.FunctionProto.BuilderaddNode(int index, Onnx.NodeProto value)The nodes in the function.Onnx.FunctionProto.BuilderaddNode(int index, Onnx.NodeProto.Builder builderForValue)The nodes in the function.Onnx.FunctionProto.BuilderaddNode(Onnx.NodeProto value)The nodes in the function.Onnx.FunctionProto.BuilderaddNode(Onnx.NodeProto.Builder builderForValue)The nodes in the function.Onnx.NodeProto.BuilderaddNodeBuilder()The nodes in the function.Onnx.NodeProto.BuilderaddNodeBuilder(int index)The nodes in the function.Onnx.FunctionProto.BuilderaddOpsetImport(int index, Onnx.OperatorSetIdProto value)repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.FunctionProto.BuilderaddOpsetImport(int index, Onnx.OperatorSetIdProto.Builder builderForValue)repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.FunctionProto.BuilderaddOpsetImport(Onnx.OperatorSetIdProto value)repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.FunctionProto.BuilderaddOpsetImport(Onnx.OperatorSetIdProto.Builder builderForValue)repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.OperatorSetIdProto.BuilderaddOpsetImportBuilder()repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.OperatorSetIdProto.BuilderaddOpsetImportBuilder(int index)repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.FunctionProto.BuilderaddOutput(String value)repeated string output = 5;Onnx.FunctionProto.BuilderaddOutputBytes(org.nd4j.shade.protobuf.ByteString value)repeated string output = 5;Onnx.FunctionProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.FunctionProtobuild()Onnx.FunctionProtobuildPartial()Onnx.FunctionProto.Builderclear()Onnx.FunctionProto.BuilderclearAttribute()The attributes of the function.Onnx.FunctionProto.BuilderclearDocString()A human-readable documentation for this function.Onnx.FunctionProto.BuilderclearDomain()The domain which this function belongs to.Onnx.FunctionProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)Onnx.FunctionProto.BuilderclearInput()The inputs and outputs of the function.Onnx.FunctionProto.BuilderclearName()The name of the function, similar usage of op_type in OperatorProto.Onnx.FunctionProto.BuilderclearNode()The nodes in the function.Onnx.FunctionProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)Onnx.FunctionProto.BuilderclearOpsetImport()repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.FunctionProto.BuilderclearOutput()repeated string output = 5;Onnx.FunctionProto.Builderclone()StringgetAttribute(int index)The attributes of the function.org.nd4j.shade.protobuf.ByteStringgetAttributeBytes(int index)The attributes of the function.intgetAttributeCount()The attributes of the function.org.nd4j.shade.protobuf.ProtocolStringListgetAttributeList()The attributes of the function.Onnx.FunctionProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDocString()A human-readable documentation for this function.org.nd4j.shade.protobuf.ByteStringgetDocStringBytes()A human-readable documentation for this function.StringgetDomain()The domain which this function belongs to.org.nd4j.shade.protobuf.ByteStringgetDomainBytes()The domain which this function belongs to.StringgetInput(int index)The inputs and outputs of the function.org.nd4j.shade.protobuf.ByteStringgetInputBytes(int index)The inputs and outputs of the function.intgetInputCount()The inputs and outputs of the function.org.nd4j.shade.protobuf.ProtocolStringListgetInputList()The inputs and outputs of the function.StringgetName()The name of the function, similar usage of op_type in OperatorProto.org.nd4j.shade.protobuf.ByteStringgetNameBytes()The name of the function, similar usage of op_type in OperatorProto.Onnx.NodeProtogetNode(int index)The nodes in the function.Onnx.NodeProto.BuildergetNodeBuilder(int index)The nodes in the function.List<Onnx.NodeProto.Builder>getNodeBuilderList()The nodes in the function.intgetNodeCount()The nodes in the function.List<Onnx.NodeProto>getNodeList()The nodes in the function.Onnx.NodeProtoOrBuildergetNodeOrBuilder(int index)The nodes in the function.List<? extends Onnx.NodeProtoOrBuilder>getNodeOrBuilderList()The nodes in the function.Onnx.OperatorSetIdProtogetOpsetImport(int index)repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.OperatorSetIdProto.BuildergetOpsetImportBuilder(int index)repeated .onnx.OperatorSetIdProto opset_import = 9;List<Onnx.OperatorSetIdProto.Builder>getOpsetImportBuilderList()repeated .onnx.OperatorSetIdProto opset_import = 9;intgetOpsetImportCount()repeated .onnx.OperatorSetIdProto opset_import = 9;List<Onnx.OperatorSetIdProto>getOpsetImportList()repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.OperatorSetIdProtoOrBuildergetOpsetImportOrBuilder(int index)repeated .onnx.OperatorSetIdProto opset_import = 9;List<? extends Onnx.OperatorSetIdProtoOrBuilder>getOpsetImportOrBuilderList()repeated .onnx.OperatorSetIdProto opset_import = 9;StringgetOutput(int index)repeated string output = 5;org.nd4j.shade.protobuf.ByteStringgetOutputBytes(int index)repeated string output = 5;intgetOutputCount()repeated string output = 5;org.nd4j.shade.protobuf.ProtocolStringListgetOutputList()repeated string output = 5;protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Onnx.FunctionProto.BuildermergeFrom(Onnx.FunctionProto other)Onnx.FunctionProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)Onnx.FunctionProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)Onnx.FunctionProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)Onnx.FunctionProto.BuilderremoveNode(int index)The nodes in the function.Onnx.FunctionProto.BuilderremoveOpsetImport(int index)repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.FunctionProto.BuildersetAttribute(int index, String value)The attributes of the function.Onnx.FunctionProto.BuildersetDocString(String value)A human-readable documentation for this function.Onnx.FunctionProto.BuildersetDocStringBytes(org.nd4j.shade.protobuf.ByteString value)A human-readable documentation for this function.Onnx.FunctionProto.BuildersetDomain(String value)The domain which this function belongs to.Onnx.FunctionProto.BuildersetDomainBytes(org.nd4j.shade.protobuf.ByteString value)The domain which this function belongs to.Onnx.FunctionProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.FunctionProto.BuildersetInput(int index, String value)The inputs and outputs of the function.Onnx.FunctionProto.BuildersetName(String value)The name of the function, similar usage of op_type in OperatorProto.Onnx.FunctionProto.BuildersetNameBytes(org.nd4j.shade.protobuf.ByteString value)The name of the function, similar usage of op_type in OperatorProto.Onnx.FunctionProto.BuildersetNode(int index, Onnx.NodeProto value)The nodes in the function.Onnx.FunctionProto.BuildersetNode(int index, Onnx.NodeProto.Builder builderForValue)The nodes in the function.Onnx.FunctionProto.BuildersetOpsetImport(int index, Onnx.OperatorSetIdProto value)repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.FunctionProto.BuildersetOpsetImport(int index, Onnx.OperatorSetIdProto.Builder builderForValue)repeated .onnx.OperatorSetIdProto opset_import = 9;Onnx.FunctionProto.BuildersetOutput(int index, String value)repeated string output = 5;Onnx.FunctionProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Onnx.FunctionProto.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.FunctionProto.Builder>
-
clear
public Onnx.FunctionProto.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.FunctionProto.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.FunctionProto.Builder>
-
getDefaultInstanceForType
public Onnx.FunctionProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.FunctionProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.FunctionProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.FunctionProto.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.FunctionProto.Builder>
-
setField
public Onnx.FunctionProto.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.FunctionProto.Builder>
-
clearField
public Onnx.FunctionProto.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.FunctionProto.Builder>
-
clearOneof
public Onnx.FunctionProto.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.FunctionProto.Builder>
-
setRepeatedField
public Onnx.FunctionProto.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.FunctionProto.Builder>
-
addRepeatedField
public Onnx.FunctionProto.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.FunctionProto.Builder>
-
mergeFrom
public Onnx.FunctionProto.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.FunctionProto.Builder>
-
mergeFrom
public Onnx.FunctionProto.Builder mergeFrom(Onnx.FunctionProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
mergeFrom
public Onnx.FunctionProto.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.FunctionProto.Builder>- Throws:
IOException
-
getName
public String getName()
The name of the function, similar usage of op_type in OperatorProto. Combined with FunctionProto.domain, this forms the unique identity of the FunctionProto.
string name = 1;- Specified by:
getNamein interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
The name of the function, similar usage of op_type in OperatorProto. Combined with FunctionProto.domain, this forms the unique identity of the FunctionProto.
string name = 1;- Specified by:
getNameBytesin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The bytes for name.
-
setName
public Onnx.FunctionProto.Builder setName(String value)
The name of the function, similar usage of op_type in OperatorProto. Combined with FunctionProto.domain, this forms the unique identity of the FunctionProto.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Onnx.FunctionProto.Builder clearName()
The name of the function, similar usage of op_type in OperatorProto. Combined with FunctionProto.domain, this forms the unique identity of the FunctionProto.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Onnx.FunctionProto.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the function, similar usage of op_type in OperatorProto. Combined with FunctionProto.domain, this forms the unique identity of the FunctionProto.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getInputList
public org.nd4j.shade.protobuf.ProtocolStringList getInputList()
The inputs and outputs of the function.
repeated string input = 4;- Specified by:
getInputListin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- A list containing the input.
-
getInputCount
public int getInputCount()
The inputs and outputs of the function.
repeated string input = 4;- Specified by:
getInputCountin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The count of input.
-
getInput
public String getInput(int index)
The inputs and outputs of the function.
repeated string input = 4;- Specified by:
getInputin interfaceOnnx.FunctionProtoOrBuilder- 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)
The inputs and outputs of the function.
repeated string input = 4;- Specified by:
getInputBytesin interfaceOnnx.FunctionProtoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the input at the given index.
-
setInput
public Onnx.FunctionProto.Builder setInput(int index, String value)
The inputs and outputs of the function.
repeated string input = 4;- Parameters:
index- The index to set the value at.value- The input to set.- Returns:
- This builder for chaining.
-
addInput
public Onnx.FunctionProto.Builder addInput(String value)
The inputs and outputs of the function.
repeated string input = 4;- Parameters:
value- The input to add.- Returns:
- This builder for chaining.
-
addAllInput
public Onnx.FunctionProto.Builder addAllInput(Iterable<String> values)
The inputs and outputs of the function.
repeated string input = 4;- Parameters:
values- The input to add.- Returns:
- This builder for chaining.
-
clearInput
public Onnx.FunctionProto.Builder clearInput()
The inputs and outputs of the function.
repeated string input = 4;- Returns:
- This builder for chaining.
-
addInputBytes
public Onnx.FunctionProto.Builder addInputBytes(org.nd4j.shade.protobuf.ByteString value)
The inputs and outputs of the function.
repeated string input = 4;- Parameters:
value- The bytes of the input to add.- Returns:
- This builder for chaining.
-
getOutputList
public org.nd4j.shade.protobuf.ProtocolStringList getOutputList()
repeated string output = 5;- Specified by:
getOutputListin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- A list containing the output.
-
getOutputCount
public int getOutputCount()
repeated string output = 5;- Specified by:
getOutputCountin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The count of output.
-
getOutput
public String getOutput(int index)
repeated string output = 5;- Specified by:
getOutputin interfaceOnnx.FunctionProtoOrBuilder- 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)
repeated string output = 5;- Specified by:
getOutputBytesin interfaceOnnx.FunctionProtoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the output at the given index.
-
setOutput
public Onnx.FunctionProto.Builder setOutput(int index, String value)
repeated string output = 5;- Parameters:
index- The index to set the value at.value- The output to set.- Returns:
- This builder for chaining.
-
addOutput
public Onnx.FunctionProto.Builder addOutput(String value)
repeated string output = 5;- Parameters:
value- The output to add.- Returns:
- This builder for chaining.
-
addAllOutput
public Onnx.FunctionProto.Builder addAllOutput(Iterable<String> values)
repeated string output = 5;- Parameters:
values- The output to add.- Returns:
- This builder for chaining.
-
clearOutput
public Onnx.FunctionProto.Builder clearOutput()
repeated string output = 5;- Returns:
- This builder for chaining.
-
addOutputBytes
public Onnx.FunctionProto.Builder addOutputBytes(org.nd4j.shade.protobuf.ByteString value)
repeated string output = 5;- Parameters:
value- The bytes of the output to add.- Returns:
- This builder for chaining.
-
getAttributeList
public org.nd4j.shade.protobuf.ProtocolStringList getAttributeList()
The attributes of the function.
repeated string attribute = 6;- Specified by:
getAttributeListin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- A list containing the attribute.
-
getAttributeCount
public int getAttributeCount()
The attributes of the function.
repeated string attribute = 6;- Specified by:
getAttributeCountin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The count of attribute.
-
getAttribute
public String getAttribute(int index)
The attributes of the function.
repeated string attribute = 6;- Specified by:
getAttributein interfaceOnnx.FunctionProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The attribute at the given index.
-
getAttributeBytes
public org.nd4j.shade.protobuf.ByteString getAttributeBytes(int index)
The attributes of the function.
repeated string attribute = 6;- Specified by:
getAttributeBytesin interfaceOnnx.FunctionProtoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the attribute at the given index.
-
setAttribute
public Onnx.FunctionProto.Builder setAttribute(int index, String value)
The attributes of the function.
repeated string attribute = 6;- Parameters:
index- The index to set the value at.value- The attribute to set.- Returns:
- This builder for chaining.
-
addAttribute
public Onnx.FunctionProto.Builder addAttribute(String value)
The attributes of the function.
repeated string attribute = 6;- Parameters:
value- The attribute to add.- Returns:
- This builder for chaining.
-
addAllAttribute
public Onnx.FunctionProto.Builder addAllAttribute(Iterable<String> values)
The attributes of the function.
repeated string attribute = 6;- Parameters:
values- The attribute to add.- Returns:
- This builder for chaining.
-
clearAttribute
public Onnx.FunctionProto.Builder clearAttribute()
The attributes of the function.
repeated string attribute = 6;- Returns:
- This builder for chaining.
-
addAttributeBytes
public Onnx.FunctionProto.Builder addAttributeBytes(org.nd4j.shade.protobuf.ByteString value)
The attributes of the function.
repeated string attribute = 6;- Parameters:
value- The bytes of the attribute to add.- Returns:
- This builder for chaining.
-
getNodeList
public List<Onnx.NodeProto> getNodeList()
The nodes in the function.
repeated .onnx.NodeProto node = 7;- Specified by:
getNodeListin interfaceOnnx.FunctionProtoOrBuilder
-
getNodeCount
public int getNodeCount()
The nodes in the function.
repeated .onnx.NodeProto node = 7;- Specified by:
getNodeCountin interfaceOnnx.FunctionProtoOrBuilder
-
getNode
public Onnx.NodeProto getNode(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;- Specified by:
getNodein interfaceOnnx.FunctionProtoOrBuilder
-
setNode
public Onnx.FunctionProto.Builder setNode(int index, Onnx.NodeProto value)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
setNode
public Onnx.FunctionProto.Builder setNode(int index, Onnx.NodeProto.Builder builderForValue)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
public Onnx.FunctionProto.Builder addNode(Onnx.NodeProto value)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
public Onnx.FunctionProto.Builder addNode(int index, Onnx.NodeProto value)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
public Onnx.FunctionProto.Builder addNode(Onnx.NodeProto.Builder builderForValue)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
public Onnx.FunctionProto.Builder addNode(int index, Onnx.NodeProto.Builder builderForValue)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addAllNode
public Onnx.FunctionProto.Builder addAllNode(Iterable<? extends Onnx.NodeProto> values)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
clearNode
public Onnx.FunctionProto.Builder clearNode()
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
removeNode
public Onnx.FunctionProto.Builder removeNode(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeBuilder
public Onnx.NodeProto.Builder getNodeBuilder(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeOrBuilder
public Onnx.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;- Specified by:
getNodeOrBuilderin interfaceOnnx.FunctionProtoOrBuilder
-
getNodeOrBuilderList
public List<? extends Onnx.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the function.
repeated .onnx.NodeProto node = 7;- Specified by:
getNodeOrBuilderListin interfaceOnnx.FunctionProtoOrBuilder
-
addNodeBuilder
public Onnx.NodeProto.Builder addNodeBuilder()
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNodeBuilder
public Onnx.NodeProto.Builder addNodeBuilder(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeBuilderList
public List<Onnx.NodeProto.Builder> getNodeBuilderList()
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getDocString
public String getDocString()
A human-readable documentation for this function. Markdown is allowed.
string doc_string = 8;- Specified by:
getDocStringin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this function. Markdown is allowed.
string doc_string = 8;- Specified by:
getDocStringBytesin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
public Onnx.FunctionProto.Builder setDocString(String value)
A human-readable documentation for this function. Markdown is allowed.
string doc_string = 8;- Parameters:
value- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
public Onnx.FunctionProto.Builder clearDocString()
A human-readable documentation for this function. Markdown is allowed.
string doc_string = 8;- Returns:
- This builder for chaining.
-
setDocStringBytes
public Onnx.FunctionProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this function. Markdown is allowed.
string doc_string = 8;- Parameters:
value- The bytes for docString to set.- Returns:
- This builder for chaining.
-
getOpsetImportList
public List<Onnx.OperatorSetIdProto> getOpsetImportList()
repeated .onnx.OperatorSetIdProto opset_import = 9;- Specified by:
getOpsetImportListin interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImportCount
public int getOpsetImportCount()
repeated .onnx.OperatorSetIdProto opset_import = 9;- Specified by:
getOpsetImportCountin interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImport
public Onnx.OperatorSetIdProto getOpsetImport(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;- Specified by:
getOpsetImportin interfaceOnnx.FunctionProtoOrBuilder
-
setOpsetImport
public Onnx.FunctionProto.Builder setOpsetImport(int index, Onnx.OperatorSetIdProto value)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
setOpsetImport
public Onnx.FunctionProto.Builder setOpsetImport(int index, Onnx.OperatorSetIdProto.Builder builderForValue)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
public Onnx.FunctionProto.Builder addOpsetImport(Onnx.OperatorSetIdProto value)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
public Onnx.FunctionProto.Builder addOpsetImport(int index, Onnx.OperatorSetIdProto value)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
public Onnx.FunctionProto.Builder addOpsetImport(Onnx.OperatorSetIdProto.Builder builderForValue)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
public Onnx.FunctionProto.Builder addOpsetImport(int index, Onnx.OperatorSetIdProto.Builder builderForValue)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addAllOpsetImport
public Onnx.FunctionProto.Builder addAllOpsetImport(Iterable<? extends Onnx.OperatorSetIdProto> values)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
clearOpsetImport
public Onnx.FunctionProto.Builder clearOpsetImport()
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
removeOpsetImport
public Onnx.FunctionProto.Builder removeOpsetImport(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportBuilder
public Onnx.OperatorSetIdProto.Builder getOpsetImportBuilder(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportOrBuilder
public Onnx.OperatorSetIdProtoOrBuilder getOpsetImportOrBuilder(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;- Specified by:
getOpsetImportOrBuilderin interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImportOrBuilderList
public List<? extends Onnx.OperatorSetIdProtoOrBuilder> getOpsetImportOrBuilderList()
repeated .onnx.OperatorSetIdProto opset_import = 9;- Specified by:
getOpsetImportOrBuilderListin interfaceOnnx.FunctionProtoOrBuilder
-
addOpsetImportBuilder
public Onnx.OperatorSetIdProto.Builder addOpsetImportBuilder()
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImportBuilder
public Onnx.OperatorSetIdProto.Builder addOpsetImportBuilder(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportBuilderList
public List<Onnx.OperatorSetIdProto.Builder> getOpsetImportBuilderList()
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getDomain
public String getDomain()
The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
string domain = 10;- Specified by:
getDomainin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The domain.
-
getDomainBytes
public org.nd4j.shade.protobuf.ByteString getDomainBytes()
The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
string domain = 10;- Specified by:
getDomainBytesin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The bytes for domain.
-
setDomain
public Onnx.FunctionProto.Builder setDomain(String value)
The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
string domain = 10;- Parameters:
value- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
public Onnx.FunctionProto.Builder clearDomain()
The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
string domain = 10;- Returns:
- This builder for chaining.
-
setDomainBytes
public Onnx.FunctionProto.Builder setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
string domain = 10;- Parameters:
value- The bytes for domain to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Onnx.FunctionProto.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.FunctionProto.Builder>
-
mergeUnknownFields
public final Onnx.FunctionProto.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.FunctionProto.Builder>
-
-