Create One-Hot Encoding
op_one_hot(x, num_classes, sparse_output = FALSE, axis = -1, name = "")
Arguments
x |
matrix or CNTK Function that outputs a tensor |
axis |
axis across which to perform operation |
name |
(str) the name of the Function instance in the network |