|
MatchLib
|
One-hot to binary convertor. More...
Functions | |
| template<unsigned OneHotLen, unsigned BinLen> | |
| void | one_hot_to_bin (const NVUINTW(OneHotLen) &one_hot_in, NVUINTW(BinLen) &bin_out) |
| One hot to binary conversion. | |
One-hot to binary convertor.
| void one_hot_to_bin | ( | const NVUINTW(OneHotLen) & | one_hot_in, |
| NVUINTW(BinLen) & | bin_out | ||
| ) |
One hot to binary conversion.
| OneHotLen | Width of one-hot representation |
| BinLen | Width of binary output |
| [in] | one_hot_in | One hot input |
| [out] | bin_out | Binary output |
Definition at line 49 of file one_hot_to_bin.h.