Package ai.onnx.proto

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 Details

    • 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<OnnxMl.AttributeProto> getAttributeList()
       Additional named attributes.
       
      repeated .onnx.AttributeProto attribute = 5;
    • getAttribute

      OnnxMl.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 OnnxMl.AttributeProtoOrBuilder> getAttributeOrBuilderList()
       Additional named attributes.
       
      repeated .onnx.AttributeProto attribute = 5;
    • getAttributeOrBuilder

      OnnxMl.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.