docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PrepareStorage

    PrepareStorage(Model, IBackend, IDictionary<string, TensorShape>, bool)

    Prepares storage for a given model.

    Declaration
    void PrepareStorage(Model model, IBackend optionalBackendToPrepareTensors = null, IDictionary<string, TensorShape> optionalInputShapes = null, bool takeoverWeights = false)
    Parameters
    Type Name Description
    Model model

    The model to prepare storage of.

    IBackend optionalBackendToPrepareTensors

    The optional backend to use.

    IDictionary<string, TensorShape> optionalInputShapes

    The optional given input shapes for execution.

    bool takeoverWeights

    Whether the execution can take ownership of the weights of the model.

    PrepareStorage(Layer)

    Prepares storage for a given layer.

    Declaration
    void PrepareStorage(Layer forLayer)
    Parameters
    Type Name Description
    Layer forLayer

    The layer to prepare storage of.

    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)