Package onnx
Interface Onnx.NodeProtoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Onnx.NodeProto
,Onnx.NodeProto.Builder
- Enclosing class:
- Onnx
public static interface Onnx.NodeProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Onnx.AttributeProto
getAttribute(int index)
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.String
getDocString()
A human-readable documentation for this node.com.google.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.com.google.protobuf.ByteString
getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.String
getInput(int index)
namespace Valuecom.google.protobuf.ByteString
getInputBytes(int index)
namespace Valueint
getInputCount()
namespace ValueList<String>
getInputList()
namespace ValueString
getName()
An optional identifier for this node in a graph.com.google.protobuf.ByteString
getNameBytes()
An optional identifier for this node in a graph.String
getOpType()
The symbolic identifier of the Operator to execute.com.google.protobuf.ByteString
getOpTypeBytes()
The symbolic identifier of the Operator to execute.String
getOutput(int index)
namespace Valuecom.google.protobuf.ByteString
getOutputBytes(int index)
namespace Valueint
getOutputCount()
namespace ValueList<String>
getOutputList()
namespace Valueboolean
hasDocString()
A human-readable documentation for this node.boolean
hasDomain()
The domain of the OperatorSet that specifies the operator named by op_type.boolean
hasName()
An optional identifier for this node in a graph.boolean
hasOpType()
The symbolic identifier of the Operator to execute.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getInputList
List<String> getInputList()
namespace Value
repeated string input = 1;
- Returns:
- A list containing the input.
-
getInputCount
int getInputCount()
namespace Value
repeated string input = 1;
- Returns:
- The count of input.
-
getInput
String getInput(int index)
namespace Value
repeated string input = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The input at the given index.
-
getInputBytes
com.google.protobuf.ByteString getInputBytes(int index)
namespace Value
repeated string input = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the input at the given index.
-
getOutputList
List<String> getOutputList()
namespace Value
repeated string output = 2;
- Returns:
- A list containing the output.
-
getOutputCount
int getOutputCount()
namespace Value
repeated string output = 2;
- Returns:
- The count of output.
-
getOutput
String getOutput(int index)
namespace Value
repeated string output = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The output at the given index.
-
getOutputBytes
com.google.protobuf.ByteString getOutputBytes(int index)
namespace Value
repeated string output = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the output at the given index.
-
hasName
boolean hasName()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
optional string name = 3;
- Returns:
- Whether the name field is set.
-
getName
String getName()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
optional string name = 3;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
optional string name = 3;
- Returns:
- The bytes for name.
-
hasOpType
boolean hasOpType()
The symbolic identifier of the Operator to execute.
optional string op_type = 4;
- Returns:
- Whether the opType field is set.
-
getOpType
String getOpType()
The symbolic identifier of the Operator to execute.
optional string op_type = 4;
- Returns:
- The opType.
-
getOpTypeBytes
com.google.protobuf.ByteString getOpTypeBytes()
The symbolic identifier of the Operator to execute.
optional string op_type = 4;
- Returns:
- The bytes for opType.
-
hasDomain
boolean hasDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
optional string domain = 7;
- Returns:
- Whether the domain field is set.
-
getDomain
String getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
optional string domain = 7;
- Returns:
- The domain.
-
getDomainBytes
com.google.protobuf.ByteString getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.
optional string domain = 7;
- Returns:
- The bytes for domain.
-
getAttributeList
List<Onnx.AttributeProto> getAttributeList()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttribute
Onnx.AttributeProto getAttribute(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeCount
int getAttributeCount()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeOrBuilderList
List<? extends Onnx.AttributeProtoOrBuilder> getAttributeOrBuilderList()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeOrBuilder
Onnx.AttributeProtoOrBuilder getAttributeOrBuilder(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
hasDocString
boolean hasDocString()
A human-readable documentation for this node. Markdown is allowed.
optional string doc_string = 6;
- Returns:
- Whether the docString field is set.
-
getDocString
String getDocString()
A human-readable documentation for this node. Markdown is allowed.
optional string doc_string = 6;
- Returns:
- The docString.
-
getDocStringBytes
com.google.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this node. Markdown is allowed.
optional string doc_string = 6;
- Returns:
- The bytes for docString.
-
-