docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct OperatorNode

    Represents an ONNX operator for custom import.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Sentis.ONNX
    Assembly: solution.dll
    Syntax
    public struct OperatorNode

    Properties

    Name Description
    Inputs

    The inputs of the ONNX operator in order, as a string array.

    Name

    The name of the ONNX operator.

    Outputs

    The outputs of the ONNX operator in order, as a string array.

    Methods

    Name Description
    GetFloatArrayAttribute(string)

    Gets a float list attribute called name, as an array of floats.

    GetFloatAttribute(string)

    Gets the float attribute called name.

    GetIntArrayAttribute(string)

    Gets an int list attribute called name, as an array of ints.

    GetIntAttribute(string)

    Gets the int attribute called name.

    GetStringArrayAttribute(string)

    Gets a string list attribute called name, as an array of strings.

    GetStringAttribute(string)

    Gets the string attribute called name.

    HasAttribute(string)

    Whether the ONNX operator has an attribute called name.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)