nnlib
GPU-accelerated, C/C++ neural network library.
onehot_encode.h
Go to the documentation of this file.
1 
8 #ifndef NNLIB_ONEHOT_ENCODE_H
9 #define NNLIB_ONEHOT_ENCODE_H
10 
11 #include "tensor.h"
12 
19 sTensor oneHotEncode(const sTensor& vector);
20 
21 #endif //NNLIB_ONEHOT_ENCODE_H
sTensor oneHotEncode(const sTensor &vector)
One hot encode a vector of data.
Definition: onehot_encode.cpp:31
Header file declaring the Tensor class to represent multidimensional arrays.