CCastLayer Class

August 31, 2021 ยท View on GitHub

The class implements a layer that performs conversion of input blob into output type.

Settings

Output type

void SetOutputType( TBlobType type );

Sets type of the output data.

Trainable parameters

This layer has no trainable parameters.

Inputs

The single input accepts a blob of any size with any data type.

Outputs

The single output contains a blob of the same size with GetOutputType() type.