![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <vector>#include <algorithm>#include "bilstm.h"#include "linear.h"#include "embd_dict.h"Go to the source code of this file.
Namespaces | |
| namespace | deeplima |
| namespace | deeplima::eigen_impl |
Macros | |
| #define | TANH(x) ( T(2) / ( T(1) + Eigen::exp( T(-2) * (x).array() ) ) - T(1) ) |
| #define | SIGMOID(x) ( T(1) / ( T(1) + Eigen::exp( - (x).array() ) ) ) |
| #define SIGMOID | ( | x | ) | ( T(1) / ( T(1) + Eigen::exp( - (x).array() ) ) ) |
Definition at line 411 of file lstm_beam_decoder.h.
| #define TANH | ( | x | ) | ( T(2) / ( T(1) + Eigen::exp( T(-2) * (x).array() ) ) - T(1) ) |
Definition at line 410 of file lstm_beam_decoder.h.