docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ShallowCopy

    ShallowCopy()

    Returns a shallow copy of the current Tensor. The copy shares data storage with original tensor.

    Declaration
    public Tensor ShallowCopy()
    Returns
    Type Description
    Tensor

    The copied tensor sharing the same data storage as the original tensor.

    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)