docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Save

    Save(string, Model)

    Serializes and saves the model description and weights to a file.

    Declaration
    public static void Save(string fileName, Model model)
    Parameters
    Type Name Description
    string fileName

    The path to save the model file to

    Model model

    The model to save to file

    Save(Stream, Model)

    Serializes and saves the model description and weights to a Stream.

    Declaration
    public static void Save(Stream stream, Model model)
    Parameters
    Type Name Description
    Stream stream

    The Stream to save the model file to

    Model model

    The model to save to file

    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)