docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor Squeeze

    Squeeze(string, string)

    Initializes and returns an instance of Squeeze layer where the layer squeezes all the axes of size 1 from the input.

    Declaration
    public Squeeze(string name, string input)
    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.

    Squeeze(string, string, string)

    Initializes and returns an instance of Squeeze layer where the layer squeezes the specified axes of size 1 from the input.

    Declaration
    public Squeeze(string name, string input, string axes)
    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 axes

    The name to use for the 1D axes tensor of the layer.

    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)