Interface OnnxMl.NodeProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OnnxMl.NodeProto,OnnxMl.NodeProto.Builder
- Enclosing class:
OnnxMl
public static interface OnnxMl.NodeProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(int index) Additional named attributes.intAdditional named attributes.Additional named attributes.getAttributeOrBuilder(int index) Additional named attributes.List<? extends OnnxMl.AttributeProtoOrBuilder> Additional named attributes.A human-readable documentation for this node.com.google.protobuf.ByteStringA human-readable documentation for this node.The domain of the OperatorSet that specifies the operator named by op_type.com.google.protobuf.ByteStringThe domain of the OperatorSet that specifies the operator named by op_type.getInput(int index) namespace Valuecom.google.protobuf.ByteStringgetInputBytes(int index) namespace Valueintnamespace Valuenamespace ValuegetName()An optional identifier for this node in a graph.com.google.protobuf.ByteStringAn optional identifier for this node in a graph.The symbolic identifier of the Operator to execute.com.google.protobuf.ByteStringThe symbolic identifier of the Operator to execute.getOutput(int index) namespace Valuecom.google.protobuf.ByteStringgetOutputBytes(int index) namespace Valueintnamespace Valuenamespace ValuebooleanA human-readable documentation for this node.booleanThe domain of the OperatorSet that specifies the operator named by op_type.booleanhasName()An optional identifier for this node in a graph.booleanThe symbolic identifier of the Operator to execute.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInputList
-
getInputCount
int getInputCount()namespace Value
repeated string input = 1;- Returns:
- The count of input.
-
getInput
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
-
getOutputCount
int getOutputCount()namespace Value
repeated string output = 2;- Returns:
- The count of output.
-
getOutput
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<OnnxMl.AttributeProto> getAttributeList()Additional named attributes.
repeated .onnx.AttributeProto attribute = 5; -
getAttribute
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5; -
getAttributeCount
int getAttributeCount()Additional named attributes.
repeated .onnx.AttributeProto attribute = 5; -
getAttributeOrBuilderList
List<? extends OnnxMl.AttributeProtoOrBuilder> getAttributeOrBuilderList()Additional named attributes.
repeated .onnx.AttributeProto attribute = 5; -
getAttributeOrBuilder
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.
-