CEnumBinarizationLayer Class
June 14, 2020 ยท View on GitHub
The class converts the enumeration values into one-hot encoding.
Settings
Enumeration size
void SetEnumSize(int enumSize);
Trainable parameters
The layer has no trainable parameters.
Inputs
The single input accepts a blob with int or float data that contains the enumeration values, of the dimensions:
Channelsis equal to1- the other dimensions may be of any size
Outputs
The single output contains a blob with the vectors that one-hot encode the enumeration values. The dimensions of the blob are:
Channelsis equal toGetEnumSize()- the other dimensions are the same as for the input