Constructor Flatten
Flatten(string, string, int)
Initializes and returns an instance of Flatten
layer.
Declaration
public Flatten(string name, string input, int axis = 1)
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. |
int | axis | The axis up to which to flatten the input dimensions into the first dimension of the output tensor. The default value is 1. |