#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "lm/mikolov-rnnlm-lib.h"
#include "util/table-types.h"
Go to the source code of this file.
Namespaces | |
rnnlm | |
Macros | |
#define | EXP_A (1048576 / M_LN2) |
#define | EXP_C 60801 |
#define | FAST_EXP(y) (d2i.n.i = EXP_A * (y) + (1072693248 - EXP_C), d2i.d) |
Variables | |
union { | |
double d | |
struct { | |
int j | |
int i | |
} n | |
} | d2i |
#define EXP_A (1048576 / M_LN2) |
Definition at line 69 of file mikolov-rnnlm-lib.cc.
#define EXP_C 60801 |
Definition at line 70 of file mikolov-rnnlm-lib.cc.
Definition at line 71 of file mikolov-rnnlm-lib.cc.
Referenced by CRnnLM::computeNet().