docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor Split

    Split(string, string, string[], int, int)

    Initializes and returns an instance of Split layer where the input tensor is split equally.

    Declaration
    public Split(string name, string input, string[] outputs, int axis, int numOutputs)
    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[] outputs

    The names to use for all of the output tensors of the layer.

    int axis

    The axis along which to split.

    int numOutputs

    The number of outputs to split the input tensor into.

    Split(string, string, string, string[], int)

    Initializes and returns an instance of Split layer where the input tensor is split according to the split tensor.

    Declaration
    public Split(string name, string input, string split, string[] outputs, int axis)
    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 split

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

    string[] outputs

    The names to use for all of the output tensors of the layer.

    int axis

    The axis along which to split.

    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)