Constructor Shape
Shape(string, string, int, int)
Initializes and returns an instance of Shape
layer.
Declaration
public Shape(string name, string input, int start = 0, int end = 8)
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. The layer does not use the values of this tensor in the computation. |
int | start | The inclusive start axis for slicing the shape of the input tensor. The default value is 0. |
int | end | The exclusive end axis for slicing the shape of the input tensor. The default value is 8. |