Constructor CastLike
CastLike(string, string, string)
Initializes and returns an instance of CastLike
layer.
Declaration
public CastLike(string name, string input, string targetType)
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 | targetType | The name to use for the targetType tensor of the layer. The layer does not use the values of this tensor in the computation. |