docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Split

    Split<T>(T, int, int, int)

    Calculates an output tensor by splitting the input tensor along a given axis between start and end.

    Declaration
    public T Split<T>(T X, int axis, int start = 0, int end = 2147483647) where T : Tensor
    Parameters
    Type Name Description
    T X

    The input tensor.

    int axis

    The axis along which to split the input tensor.

    int start

    The inclusive start value for the split.

    int end

    The exclusive end value for the split.

    Returns
    Type Description
    T

    The computed output tensor.

    Type Parameters
    Name Description
    T

    The tensor type of the input and output tensors.

    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)