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. |