Package onnx
Class OnnxMl.FunctionProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.FunctionProto.Builder>
-
- onnx.OnnxMl.FunctionProto.Builder
-
- All Implemented Interfaces:
Cloneable
,OnnxMl.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:
- OnnxMl.FunctionProto
public static final class OnnxMl.FunctionProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.FunctionProto.Builder> implements OnnxMl.FunctionProtoOrBuilder
Protobuf typeonnx.FunctionProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OnnxMl.FunctionProto.Builder
addAllAttribute(Iterable<String> values)
The attributes of the function.OnnxMl.FunctionProto.Builder
addAllInput(Iterable<String> values)
The inputs and outputs of the function.OnnxMl.FunctionProto.Builder
addAllNode(Iterable<? extends OnnxMl.NodeProto> values)
The nodes in the function.OnnxMl.FunctionProto.Builder
addAllOpsetImport(Iterable<? extends OnnxMl.OperatorSetIdProto> values)
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.FunctionProto.Builder
addAllOutput(Iterable<String> values)
repeated string output = 5;
OnnxMl.FunctionProto.Builder
addAttribute(String value)
The attributes of the function.OnnxMl.FunctionProto.Builder
addAttributeBytes(org.nd4j.shade.protobuf.ByteString value)
The attributes of the function.OnnxMl.FunctionProto.Builder
addInput(String value)
The inputs and outputs of the function.OnnxMl.FunctionProto.Builder
addInputBytes(org.nd4j.shade.protobuf.ByteString value)
The inputs and outputs of the function.OnnxMl.FunctionProto.Builder
addNode(int index, OnnxMl.NodeProto value)
The nodes in the function.OnnxMl.FunctionProto.Builder
addNode(int index, OnnxMl.NodeProto.Builder builderForValue)
The nodes in the function.OnnxMl.FunctionProto.Builder
addNode(OnnxMl.NodeProto value)
The nodes in the function.OnnxMl.FunctionProto.Builder
addNode(OnnxMl.NodeProto.Builder builderForValue)
The nodes in the function.OnnxMl.NodeProto.Builder
addNodeBuilder()
The nodes in the function.OnnxMl.NodeProto.Builder
addNodeBuilder(int index)
The nodes in the function.OnnxMl.FunctionProto.Builder
addOpsetImport(int index, OnnxMl.OperatorSetIdProto value)
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.FunctionProto.Builder
addOpsetImport(int index, OnnxMl.OperatorSetIdProto.Builder builderForValue)
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.FunctionProto.Builder
addOpsetImport(OnnxMl.OperatorSetIdProto value)
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.FunctionProto.Builder
addOpsetImport(OnnxMl.OperatorSetIdProto.Builder builderForValue)
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.OperatorSetIdProto.Builder
addOpsetImportBuilder()
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.OperatorSetIdProto.Builder
addOpsetImportBuilder(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.FunctionProto.Builder
addOutput(String value)
repeated string output = 5;
OnnxMl.FunctionProto.Builder
addOutputBytes(org.nd4j.shade.protobuf.ByteString value)
repeated string output = 5;
OnnxMl.FunctionProto.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OnnxMl.FunctionProto
build()
OnnxMl.FunctionProto
buildPartial()
OnnxMl.FunctionProto.Builder
clear()
OnnxMl.FunctionProto.Builder
clearAttribute()
The attributes of the function.OnnxMl.FunctionProto.Builder
clearDocString()
A human-readable documentation for this function.OnnxMl.FunctionProto.Builder
clearDomain()
The domain which this function belongs to.OnnxMl.FunctionProto.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
OnnxMl.FunctionProto.Builder
clearInput()
The inputs and outputs of the function.OnnxMl.FunctionProto.Builder
clearName()
The name of the function, similar usage of op_type in OperatorProto.OnnxMl.FunctionProto.Builder
clearNode()
The nodes in the function.OnnxMl.FunctionProto.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
OnnxMl.FunctionProto.Builder
clearOpsetImport()
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.FunctionProto.Builder
clearOutput()
repeated string output = 5;
OnnxMl.FunctionProto.Builder
clone()
String
getAttribute(int index)
The attributes of the function.org.nd4j.shade.protobuf.ByteString
getAttributeBytes(int index)
The attributes of the function.int
getAttributeCount()
The attributes of the function.org.nd4j.shade.protobuf.ProtocolStringList
getAttributeList()
The attributes of the function.OnnxMl.FunctionProto
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDocString()
A human-readable documentation for this function.org.nd4j.shade.protobuf.ByteString
getDocStringBytes()
A human-readable documentation for this function.String
getDomain()
The domain which this function belongs to.org.nd4j.shade.protobuf.ByteString
getDomainBytes()
The domain which this function belongs to.String
getInput(int index)
The inputs and outputs of the function.org.nd4j.shade.protobuf.ByteString
getInputBytes(int index)
The inputs and outputs of the function.int
getInputCount()
The inputs and outputs of the function.org.nd4j.shade.protobuf.ProtocolStringList
getInputList()
The inputs and outputs of the function.String
getName()
The name of the function, similar usage of op_type in OperatorProto.org.nd4j.shade.protobuf.ByteString
getNameBytes()
The name of the function, similar usage of op_type in OperatorProto.OnnxMl.NodeProto
getNode(int index)
The nodes in the function.OnnxMl.NodeProto.Builder
getNodeBuilder(int index)
The nodes in the function.List<OnnxMl.NodeProto.Builder>
getNodeBuilderList()
The nodes in the function.int
getNodeCount()
The nodes in the function.List<OnnxMl.NodeProto>
getNodeList()
The nodes in the function.OnnxMl.NodeProtoOrBuilder
getNodeOrBuilder(int index)
The nodes in the function.List<? extends OnnxMl.NodeProtoOrBuilder>
getNodeOrBuilderList()
The nodes in the function.OnnxMl.OperatorSetIdProto
getOpsetImport(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.OperatorSetIdProto.Builder
getOpsetImportBuilder(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
List<OnnxMl.OperatorSetIdProto.Builder>
getOpsetImportBuilderList()
repeated .onnx.OperatorSetIdProto opset_import = 9;
int
getOpsetImportCount()
repeated .onnx.OperatorSetIdProto opset_import = 9;
List<OnnxMl.OperatorSetIdProto>
getOpsetImportList()
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.OperatorSetIdProtoOrBuilder
getOpsetImportOrBuilder(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
List<? extends OnnxMl.OperatorSetIdProtoOrBuilder>
getOpsetImportOrBuilderList()
repeated .onnx.OperatorSetIdProto opset_import = 9;
String
getOutput(int index)
repeated string output = 5;
org.nd4j.shade.protobuf.ByteString
getOutputBytes(int index)
repeated string output = 5;
int
getOutputCount()
repeated string output = 5;
org.nd4j.shade.protobuf.ProtocolStringList
getOutputList()
repeated string output = 5;
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OnnxMl.FunctionProto.Builder
mergeFrom(OnnxMl.FunctionProto other)
OnnxMl.FunctionProto.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
OnnxMl.FunctionProto.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
OnnxMl.FunctionProto.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
OnnxMl.FunctionProto.Builder
removeNode(int index)
The nodes in the function.OnnxMl.FunctionProto.Builder
removeOpsetImport(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.FunctionProto.Builder
setAttribute(int index, String value)
The attributes of the function.OnnxMl.FunctionProto.Builder
setDocString(String value)
A human-readable documentation for this function.OnnxMl.FunctionProto.Builder
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this function.OnnxMl.FunctionProto.Builder
setDomain(String value)
The domain which this function belongs to.OnnxMl.FunctionProto.Builder
setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
The domain which this function belongs to.OnnxMl.FunctionProto.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OnnxMl.FunctionProto.Builder
setInput(int index, String value)
The inputs and outputs of the function.OnnxMl.FunctionProto.Builder
setName(String value)
The name of the function, similar usage of op_type in OperatorProto.OnnxMl.FunctionProto.Builder
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the function, similar usage of op_type in OperatorProto.OnnxMl.FunctionProto.Builder
setNode(int index, OnnxMl.NodeProto value)
The nodes in the function.OnnxMl.FunctionProto.Builder
setNode(int index, OnnxMl.NodeProto.Builder builderForValue)
The nodes in the function.OnnxMl.FunctionProto.Builder
setOpsetImport(int index, OnnxMl.OperatorSetIdProto value)
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.FunctionProto.Builder
setOpsetImport(int index, OnnxMl.OperatorSetIdProto.Builder builderForValue)
repeated .onnx.OperatorSetIdProto opset_import = 9;
OnnxMl.FunctionProto.Builder
setOutput(int index, String value)
repeated string output = 5;
OnnxMl.FunctionProto.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.Builder>
-
clear
public OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.Builder>
-
getDefaultInstanceForType
public OnnxMl.FunctionProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public OnnxMl.FunctionProto build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public OnnxMl.FunctionProto buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.Builder>
-
setField
public OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.Builder>
-
clearField
public OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.Builder>
-
clearOneof
public OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.Builder>
-
setRepeatedField
public OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.Builder>
-
addRepeatedField
public OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.Builder>
-
mergeFrom
public OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.Builder>
-
mergeFrom
public OnnxMl.FunctionProto.Builder mergeFrom(OnnxMl.FunctionProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.FunctionProto.Builder>
-
mergeFrom
public OnnxMl.FunctionProto.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<OnnxMl.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:
getName
in interfaceOnnxMl.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:
getNameBytes
in interfaceOnnxMl.FunctionProtoOrBuilder
- Returns:
- The bytes for name.
-
setName
public OnnxMl.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 OnnxMl.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 OnnxMl.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:
getInputList
in interfaceOnnxMl.FunctionProtoOrBuilder
- Returns:
- A list containing the input.
-
getInputCount
public int getInputCount()
The inputs and outputs of the function.
repeated string input = 4;
- Specified by:
getInputCount
in interfaceOnnxMl.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:
getInput
in interfaceOnnxMl.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:
getInputBytes
in interfaceOnnxMl.FunctionProtoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the input at the given index.
-
setInput
public OnnxMl.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 OnnxMl.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 OnnxMl.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 OnnxMl.FunctionProto.Builder clearInput()
The inputs and outputs of the function.
repeated string input = 4;
- Returns:
- This builder for chaining.
-
addInputBytes
public OnnxMl.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:
getOutputList
in interfaceOnnxMl.FunctionProtoOrBuilder
- Returns:
- A list containing the output.
-
getOutputCount
public int getOutputCount()
repeated string output = 5;
- Specified by:
getOutputCount
in interfaceOnnxMl.FunctionProtoOrBuilder
- Returns:
- The count of output.
-
getOutput
public String getOutput(int index)
repeated string output = 5;
- Specified by:
getOutput
in interfaceOnnxMl.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:
getOutputBytes
in interfaceOnnxMl.FunctionProtoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the output at the given index.
-
setOutput
public OnnxMl.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 OnnxMl.FunctionProto.Builder addOutput(String value)
repeated string output = 5;
- Parameters:
value
- The output to add.- Returns:
- This builder for chaining.
-
addAllOutput
public OnnxMl.FunctionProto.Builder addAllOutput(Iterable<String> values)
repeated string output = 5;
- Parameters:
values
- The output to add.- Returns:
- This builder for chaining.
-
clearOutput
public OnnxMl.FunctionProto.Builder clearOutput()
repeated string output = 5;
- Returns:
- This builder for chaining.
-
addOutputBytes
public OnnxMl.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:
getAttributeList
in interfaceOnnxMl.FunctionProtoOrBuilder
- Returns:
- A list containing the attribute.
-
getAttributeCount
public int getAttributeCount()
The attributes of the function.
repeated string attribute = 6;
- Specified by:
getAttributeCount
in interfaceOnnxMl.FunctionProtoOrBuilder
- Returns:
- The count of attribute.
-
getAttribute
public String getAttribute(int index)
The attributes of the function.
repeated string attribute = 6;
- Specified by:
getAttribute
in interfaceOnnxMl.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:
getAttributeBytes
in interfaceOnnxMl.FunctionProtoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the attribute at the given index.
-
setAttribute
public OnnxMl.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 OnnxMl.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 OnnxMl.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 OnnxMl.FunctionProto.Builder clearAttribute()
The attributes of the function.
repeated string attribute = 6;
- Returns:
- This builder for chaining.
-
addAttributeBytes
public OnnxMl.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<OnnxMl.NodeProto> getNodeList()
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNodeList
in interfaceOnnxMl.FunctionProtoOrBuilder
-
getNodeCount
public int getNodeCount()
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNodeCount
in interfaceOnnxMl.FunctionProtoOrBuilder
-
getNode
public OnnxMl.NodeProto getNode(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNode
in interfaceOnnxMl.FunctionProtoOrBuilder
-
setNode
public OnnxMl.FunctionProto.Builder setNode(int index, OnnxMl.NodeProto value)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
setNode
public OnnxMl.FunctionProto.Builder setNode(int index, OnnxMl.NodeProto.Builder builderForValue)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
public OnnxMl.FunctionProto.Builder addNode(OnnxMl.NodeProto value)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
public OnnxMl.FunctionProto.Builder addNode(int index, OnnxMl.NodeProto value)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
public OnnxMl.FunctionProto.Builder addNode(OnnxMl.NodeProto.Builder builderForValue)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
public OnnxMl.FunctionProto.Builder addNode(int index, OnnxMl.NodeProto.Builder builderForValue)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addAllNode
public OnnxMl.FunctionProto.Builder addAllNode(Iterable<? extends OnnxMl.NodeProto> values)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
clearNode
public OnnxMl.FunctionProto.Builder clearNode()
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
removeNode
public OnnxMl.FunctionProto.Builder removeNode(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeBuilder
public OnnxMl.NodeProto.Builder getNodeBuilder(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeOrBuilder
public OnnxMl.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNodeOrBuilder
in interfaceOnnxMl.FunctionProtoOrBuilder
-
getNodeOrBuilderList
public List<? extends OnnxMl.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNodeOrBuilderList
in interfaceOnnxMl.FunctionProtoOrBuilder
-
addNodeBuilder
public OnnxMl.NodeProto.Builder addNodeBuilder()
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNodeBuilder
public OnnxMl.NodeProto.Builder addNodeBuilder(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeBuilderList
public List<OnnxMl.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:
getDocString
in interfaceOnnxMl.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:
getDocStringBytes
in interfaceOnnxMl.FunctionProtoOrBuilder
- Returns:
- The bytes for docString.
-
setDocString
public OnnxMl.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 OnnxMl.FunctionProto.Builder clearDocString()
A human-readable documentation for this function. Markdown is allowed.
string doc_string = 8;
- Returns:
- This builder for chaining.
-
setDocStringBytes
public OnnxMl.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<OnnxMl.OperatorSetIdProto> getOpsetImportList()
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImportList
in interfaceOnnxMl.FunctionProtoOrBuilder
-
getOpsetImportCount
public int getOpsetImportCount()
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImportCount
in interfaceOnnxMl.FunctionProtoOrBuilder
-
getOpsetImport
public OnnxMl.OperatorSetIdProto getOpsetImport(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImport
in interfaceOnnxMl.FunctionProtoOrBuilder
-
setOpsetImport
public OnnxMl.FunctionProto.Builder setOpsetImport(int index, OnnxMl.OperatorSetIdProto value)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
setOpsetImport
public OnnxMl.FunctionProto.Builder setOpsetImport(int index, OnnxMl.OperatorSetIdProto.Builder builderForValue)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
public OnnxMl.FunctionProto.Builder addOpsetImport(OnnxMl.OperatorSetIdProto value)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
public OnnxMl.FunctionProto.Builder addOpsetImport(int index, OnnxMl.OperatorSetIdProto value)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
public OnnxMl.FunctionProto.Builder addOpsetImport(OnnxMl.OperatorSetIdProto.Builder builderForValue)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
public OnnxMl.FunctionProto.Builder addOpsetImport(int index, OnnxMl.OperatorSetIdProto.Builder builderForValue)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addAllOpsetImport
public OnnxMl.FunctionProto.Builder addAllOpsetImport(Iterable<? extends OnnxMl.OperatorSetIdProto> values)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
clearOpsetImport
public OnnxMl.FunctionProto.Builder clearOpsetImport()
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
removeOpsetImport
public OnnxMl.FunctionProto.Builder removeOpsetImport(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportBuilder
public OnnxMl.OperatorSetIdProto.Builder getOpsetImportBuilder(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportOrBuilder
public OnnxMl.OperatorSetIdProtoOrBuilder getOpsetImportOrBuilder(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImportOrBuilder
in interfaceOnnxMl.FunctionProtoOrBuilder
-
getOpsetImportOrBuilderList
public List<? extends OnnxMl.OperatorSetIdProtoOrBuilder> getOpsetImportOrBuilderList()
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImportOrBuilderList
in interfaceOnnxMl.FunctionProtoOrBuilder
-
addOpsetImportBuilder
public OnnxMl.OperatorSetIdProto.Builder addOpsetImportBuilder()
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImportBuilder
public OnnxMl.OperatorSetIdProto.Builder addOpsetImportBuilder(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportBuilderList
public List<OnnxMl.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:
getDomain
in interfaceOnnxMl.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:
getDomainBytes
in interfaceOnnxMl.FunctionProtoOrBuilder
- Returns:
- The bytes for domain.
-
setDomain
public OnnxMl.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 OnnxMl.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 OnnxMl.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 OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.Builder>
-
mergeUnknownFields
public final OnnxMl.FunctionProto.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<OnnxMl.FunctionProto.Builder>
-
-