docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor Shape

    Shape(string, string, int, int)

    Initializes and returns an instance of Shape layer.

    Declaration
    public Shape(string name, string input, int start = 0, int end = 8)
    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. The layer does not use the values of this tensor in the computation.

    int start

    The inclusive start axis for slicing the shape of the input tensor. The default value is 0.

    int end

    The exclusive end axis for slicing the shape of the input tensor. The default value is 8.

    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)