docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SpaceToDepth

    SpaceToDepth(TensorFloat, int)

    Computes the output tensor by permuting data from blocks of spatial data into depth.

    Declaration
    public TensorFloat SpaceToDepth(TensorFloat X, int blocksize)
    Parameters
    Type Name Description
    TensorFloat X

    The input tensor.

    int blocksize

    The size of the blocks to move the depth data into.

    Returns
    Type Description
    TensorFloat

    The computed output 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)