docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Concat

    Concat(TensorShape, int)

    Creates a TensorShape by concatenating this TensorShape with other along a given axis. The dimensions of the shapes must be equal, except at axis.

    For example if this is (2, 3, 4, 5), other is (2, 2, 4, 5), and the value of axis is 1, the method returns (2, 5, 4, 5).

    Declaration
    public TensorShape Concat(TensorShape other, int axis)
    Parameters
    Type Name Description
    TensorShape other

    The other tensor shape which which to concatenate.

    int axis

    The axis along which to concatenate.

    Returns
    Type Description
    TensorShape

    The concatenated tensor shape.

    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)