docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor ScatterElements

    ScatterElements(string, string, string, string, int, ScatterReductionMode)

    Initializes and returns an instance of ScatterElements layer.

    Declaration
    public ScatterElements(string name, string input, string indices, string updates, int axis, ScatterReductionMode reduction)
    Parameters
    Type Name Description
    string name

    The name to use for the output tensor of the layer.

    string input

    The name to use for the input tensor of the layer.

    string indices

    The name to use for the indices tensor of the layer.

    string updates

    The name to use for the updates tensor of the layer.

    int axis

    The axis on which to perform the scatter.

    ScatterReductionMode reduction

    The reduction mode used to update the values as a ScatterReductionMode.

    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)