Package onnx
Interface Onnx.FunctionProtoOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Onnx.FunctionProto,Onnx.FunctionProto.Builder
- Enclosing class:
- Onnx
public static interface Onnx.FunctionProtoOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.List<String>getAttributeList()The attributes of the function.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.List<String>getInputList()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.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;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;List<String>getOutputList()repeated string output = 5;-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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;- Returns:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
getInputList
List<String> getInputList()
The inputs and outputs of the function.
repeated string input = 4;- Returns:
- A list containing the input.
-
getInputCount
int getInputCount()
The inputs and outputs of the function.
repeated string input = 4;- Returns:
- The count of input.
-
getInput
String getInput(int index)
The inputs and outputs of the function.
repeated string input = 4;- Parameters:
index- The index of the element to return.- Returns:
- The input at the given index.
-
getInputBytes
org.nd4j.shade.protobuf.ByteString getInputBytes(int index)
The inputs and outputs of the function.
repeated string input = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the input at the given index.
-
getOutputList
List<String> getOutputList()
repeated string output = 5;- Returns:
- A list containing the output.
-
getOutputCount
int getOutputCount()
repeated string output = 5;- Returns:
- The count of output.
-
getOutput
String getOutput(int index)
repeated string output = 5;- Parameters:
index- The index of the element to return.- Returns:
- The output at the given index.
-
getOutputBytes
org.nd4j.shade.protobuf.ByteString getOutputBytes(int index)
repeated string output = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the output at the given index.
-
getAttributeList
List<String> getAttributeList()
The attributes of the function.
repeated string attribute = 6;- Returns:
- A list containing the attribute.
-
getAttributeCount
int getAttributeCount()
The attributes of the function.
repeated string attribute = 6;- Returns:
- The count of attribute.
-
getAttribute
String getAttribute(int index)
The attributes of the function.
repeated string attribute = 6;- Parameters:
index- The index of the element to return.- Returns:
- The attribute at the given index.
-
getAttributeBytes
org.nd4j.shade.protobuf.ByteString getAttributeBytes(int index)
The attributes of the function.
repeated string attribute = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the attribute at the given index.
-
getNodeList
List<Onnx.NodeProto> getNodeList()
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNode
Onnx.NodeProto getNode(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeCount
int getNodeCount()
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeOrBuilderList
List<? extends Onnx.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeOrBuilder
Onnx.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getDocString
String getDocString()
A human-readable documentation for this function. Markdown is allowed.
string doc_string = 8;- Returns:
- The docString.
-
getDocStringBytes
org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this function. Markdown is allowed.
string doc_string = 8;- Returns:
- The bytes for docString.
-
getOpsetImportList
List<Onnx.OperatorSetIdProto> getOpsetImportList()
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImport
Onnx.OperatorSetIdProto getOpsetImport(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportCount
int getOpsetImportCount()
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportOrBuilderList
List<? extends Onnx.OperatorSetIdProtoOrBuilder> getOpsetImportOrBuilderList()
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportOrBuilder
Onnx.OperatorSetIdProtoOrBuilder getOpsetImportOrBuilder(int index)
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getDomain
String getDomain()
The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
string domain = 10;- Returns:
- The domain.
-
getDomainBytes
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;- Returns:
- The bytes for domain.
-
-