docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor DepthToSpace

    DepthToSpace(string, string, int, DepthToSpaceMode)

    Initializes and returns an instance of DepthToSpace layer.

    Declaration
    public DepthToSpace(string name, string input, int blocksize, DepthToSpaceMode mode)
    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.

    int blocksize

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

    DepthToSpaceMode mode

    The ordering of the data in the output tensor as a DepthToSpaceMode.

    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)