docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GatherND

    GatherND(Tensor, TensorInt, Tensor, int)

    Takes slices of values from the batched input tensor indexed by the indices tensor.

    Declaration
    public override void GatherND(Tensor X, TensorInt indices, Tensor O, int batchDims)
    Parameters
    Type Name Description
    Tensor X

    The input tensor.

    TensorInt indices

    The indices tensor.

    Tensor O

    The output tensor to be computed and filled.

    int batchDims

    The number of batch dimensions of the input tensor, the gather begins at the next dimension.

    Overrides
    CPUBackend.GatherND(Tensor, TensorInt, Tensor, 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)