nnlib
GPU-accelerated, C/C++ neural network library.
include
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
oneHotEncode
sTensor oneHotEncode(const sTensor &vector)
One hot encode a vector of data.
Definition:
onehot_encode.cpp:31
tensor.h
Header file declaring the Tensor class to represent multidimensional arrays.
Generated by
1.9.1