Constructor Reshape
Reshape(string, string, string, bool)
Initializes and returns an instance of Reshape layer.
Declaration
public Reshape(string name, string input, string shape, bool allowZero = false)
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 | shape | The name to use for the 1D shape tensor of the layer. |
| bool | allowZero | Whether to handle zeros in the shape like numpy.
|