docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ModelLoader

    Provides methods for loading models.

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

    Methods

    Name Description
    Load(Stream)

    Loads a serialized model from a stream.

    Load(string)

    Loads a model that has been serialized to disk.

    Load(ModelAsset)

    Converts a binary ModelAsset representation of a neural network to an object-oriented Model representation.

    LoadModelDesc(Stream, ref Model)

    Loads a model description without the external weights from a stream

    LoadModelDesc(ModelAsset, ref Model)

    Loads a model description without the external weights from a serialized ModelAsset

    LoadModelWeights(ModelAsset, ref Model)

    Loads a model weights without the description from a serialized ModelAsset

    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)