Constructor Squeeze
Squeeze(string, string)
Initializes and returns an instance of Squeeze layer where the layer squeezes all the axes of size 1 from the input.
Declaration
public Squeeze(string name, string input)
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. |
Squeeze(string, string, string)
Initializes and returns an instance of Squeeze layer where the layer squeezes the specified axes of size 1 from the input.
Declaration
public Squeeze(string name, string input, string axes)
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 | axes | The name to use for the 1D axes tensor of the layer. |