PLearn 0.1
Namespaces | Functions
RBMLocalMultinomialLayer.cc File Reference
#include "RBMLocalMultinomialLayer.h"
#include <plearn/math/TMat_maths.h>
#include "RBMConnection.h"
Include dependency graph for RBMLocalMultinomialLayer.cc:

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 >
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)

Detailed Description

Definition in file RBMLocalMultinomialLayer.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines