Constructor Cast
Cast(string, string, DataType)
Initializes and returns an instance of Cast
layer.
Declaration
public Cast(string name, string input, DataType toType)
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. |
DataType | toType | The data type to cast to as a |