PLearn 0.1
|
#include "RBMLocalMultinomialLayer.h"
#include <plearn/math/TMat_maths.h>
#include "RBMConnection.h"
Go to the source code of this file.
Namespaces | |
namespace | PLearn |
< for swap | |
Functions | |
template<class T > | |
void | PLearn::softmax (const TMat< T > &x, const TMat< T > &y) |
template<class T > | |
T | PLearn::logadd (const TMat< T > &mat) |
int | PLearn::multinomial_sample (const PP< PRandom > &rg, const Mat &distribution) |
template<class T > | |
void | PLearn::fill_one_hot (const TMat< T > &mat, int hotpos, T coldvalue, T hotvalue) |
Definition in file RBMLocalMultinomialLayer.cc.