docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MemSet

    MemSet(TensorFloat, float)

    Sets the entries of a tensor to a given fill value.

    Declaration
    public override void MemSet(TensorFloat O, float value)
    Parameters
    Type Name Description
    TensorFloat O

    The output tensor to be computed and filled.

    float value

    The fill value.

    Overrides
    CPUBackend.MemSet(TensorFloat, float)

    MemSet(TensorInt, int)

    Sets the entries of a tensor to a given fill value.

    Declaration
    public override void MemSet(TensorInt O, int value)
    Parameters
    Type Name Description
    TensorInt O

    The output tensor to be computed and filled.

    int value

    The fill value.

    Overrides
    CPUBackend.MemSet(TensorInt, int)
    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)