Package onnx
Interface Onnx.FunctionProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Onnx.FunctionProto
,Onnx.FunctionProto.Builder
- Enclosing class:
- Onnx
public static interface Onnx.FunctionProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(int index) The attribute parameters of the function.com.google.protobuf.ByteString
getAttributeBytes
(int index) The attribute parameters of the function.int
The attribute parameters of the function.The attribute parameters of the function.getAttributeProto
(int index) The attribute protos of the function.int
The attribute protos of the function.The attribute protos of the function.getAttributeProtoOrBuilder
(int index) The attribute protos of the function.List<? extends Onnx.AttributeProtoOrBuilder>
The attribute protos of the function.A human-readable documentation for this function.com.google.protobuf.ByteString
A human-readable documentation for this function.The domain which this function belongs to.com.google.protobuf.ByteString
The domain which this function belongs to.getInput
(int index) The inputs and outputs of the function.com.google.protobuf.ByteString
getInputBytes
(int index) The inputs and outputs of the function.int
The inputs and outputs of the function.The inputs and outputs of the function.getName()
The name of the function, similar usage of op_type in OperatorProto.com.google.protobuf.ByteString
The name of the function, similar usage of op_type in OperatorProto.getNode
(int index) The nodes in the function.int
The nodes in the function.The nodes in the function.getNodeOrBuilder
(int index) The nodes in the function.List<? extends Onnx.NodeProtoOrBuilder>
The nodes in the function.getOpsetImport
(int index) repeated .onnx.OperatorSetIdProto opset_import = 9;
int
repeated .onnx.OperatorSetIdProto opset_import = 9;
repeated .onnx.OperatorSetIdProto opset_import = 9;
getOpsetImportOrBuilder
(int index) repeated .onnx.OperatorSetIdProto opset_import = 9;
List<? extends Onnx.OperatorSetIdProtoOrBuilder>
repeated .onnx.OperatorSetIdProto opset_import = 9;
getOutput
(int index) repeated string output = 5;
com.google.protobuf.ByteString
getOutputBytes
(int index) repeated string output = 5;
int
repeated string output = 5;
repeated string output = 5;
boolean
A human-readable documentation for this function.boolean
The domain which this function belongs to.boolean
hasName()
The name of the function, similar usage of op_type in OperatorProto.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()The name of the function, similar usage of op_type in OperatorProto. Combined with FunctionProto.domain, this forms the unique identity of the FunctionProto.
optional string name = 1;
- Returns:
- Whether the name field is set.
-
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.
optional string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.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.
optional string name = 1;
- Returns:
- The bytes for name.
-
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
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
com.google.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
repeated string output = 5;
- Returns:
- A list containing the output.
-
getOutputCount
int getOutputCount()repeated string output = 5;
- Returns:
- The count of output.
-
getOutput
repeated string output = 5;
- Parameters:
index
- The index of the element to return.- Returns:
- The output at the given index.
-
getOutputBytes
com.google.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
The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Returns:
- A list containing the attribute.
-
getAttributeCount
int getAttributeCount()The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Returns:
- The count of attribute.
-
getAttribute
The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Parameters:
index
- The index of the element to return.- Returns:
- The attribute at the given index.
-
getAttributeBytes
com.google.protobuf.ByteString getAttributeBytes(int index) The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the attribute at the given index.
-
getAttributeProtoList
List<Onnx.AttributeProto> getAttributeProtoList()The attribute protos of the function. It is for function attributes with default values. A function attribute shall be represented either as a string attribute or an AttributeProto, not both.
repeated .onnx.AttributeProto attribute_proto = 11;
-
getAttributeProto
The attribute protos of the function. It is for function attributes with default values. A function attribute shall be represented either as a string attribute or an AttributeProto, not both.
repeated .onnx.AttributeProto attribute_proto = 11;
-
getAttributeProtoCount
int getAttributeProtoCount()The attribute protos of the function. It is for function attributes with default values. A function attribute shall be represented either as a string attribute or an AttributeProto, not both.
repeated .onnx.AttributeProto attribute_proto = 11;
-
getAttributeProtoOrBuilderList
List<? extends Onnx.AttributeProtoOrBuilder> getAttributeProtoOrBuilderList()The attribute protos of the function. It is for function attributes with default values. A function attribute shall be represented either as a string attribute or an AttributeProto, not both.
repeated .onnx.AttributeProto attribute_proto = 11;
-
getAttributeProtoOrBuilder
The attribute protos of the function. It is for function attributes with default values. A function attribute shall be represented either as a string attribute or an AttributeProto, not both.
repeated .onnx.AttributeProto attribute_proto = 11;
-
getNodeList
List<Onnx.NodeProto> getNodeList()The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNode
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
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
hasDocString
boolean hasDocString()A human-readable documentation for this function. Markdown is allowed.
optional string doc_string = 8;
- Returns:
- Whether the docString field is set.
-
getDocString
String getDocString()A human-readable documentation for this function. Markdown is allowed.
optional string doc_string = 8;
- Returns:
- The docString.
-
getDocStringBytes
com.google.protobuf.ByteString getDocStringBytes()A human-readable documentation for this function. Markdown is allowed.
optional string doc_string = 8;
- Returns:
- The bytes for docString.
-
getOpsetImportList
List<Onnx.OperatorSetIdProto> getOpsetImportList()repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImport
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
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
hasDomain
boolean hasDomain()The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
optional string domain = 10;
- Returns:
- Whether the domain field is set.
-
getDomain
String getDomain()The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
optional string domain = 10;
- Returns:
- The domain.
-
getDomainBytes
com.google.protobuf.ByteString getDomainBytes()The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
optional string domain = 10;
- Returns:
- The bytes for domain.
-