Constructor ConstantOfShape
ConstantOfShape(string, string, float)
Initializes and returns an instance of ConstantOfShape layer with a float value.
Declaration
public ConstantOfShape(string name, string input, float value)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 shape tensor of the layer. | 
| float | value | The float value to use to fill the output tensor. | 
ConstantOfShape(string, string, int)
Initializes and returns an instance of ConstantOfShape layer with an int value.
Declaration
public ConstantOfShape(string name, string input, int value)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 shape tensor of the layer. | 
| int | value | The int value to use to fill the output tensor. |