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 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.
      • getOpsetImport

        Onnx.OperatorSetIdProto getOpsetImport​(int index)
        repeated .onnx.OperatorSetIdProto opset_import = 9;
      • getOpsetImportCount

        int getOpsetImportCount()
        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.