docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ONNXModelConverter

    Represents a converter from an ONNX model to Sentis format.

    Inheritance
    object
    ONNXModelConverter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Sentis.ONNX
    Assembly: Unity.Sentis.ONNX.dll
    Syntax
    public class ONNXModelConverter

    Constructors

    ONNXModelConverter(string)

    Initializes and returns an instance of ONNXModelConverter.

    Declaration
    public ONNXModelConverter(string filePath)
    Parameters
    Type Name Description
    string filePath

    The path of the asset to convert.

    Properties

    Warnings

    The warnings from the model importer.

    Declaration
    public List<ONNXModelConverter.ImporterWarning> Warnings { get; }
    Property Value
    Type Description
    List<ONNXModelConverter.ImporterWarning>

    Methods

    Convert()

    Converts an ONNX model to a Sentis Model object.

    Declaration
    public Model Convert()
    Returns
    Type Description
    Model

    The converted Sentis model.

    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)