Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 950 Bytes

EnumBinarizationLayer.md

File metadata and controls

40 lines (25 loc) · 950 Bytes

CEnumBinarizationLayer Class

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:

  • Channels is equal to 1
  • 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:

  • Channels is equal to GetEnumSize()
  • the other dimensions are the same as for the input