#include <remove-eps-local-inl.h>
|
TropicalWeight | operator() (const TropicalWeight &a, const TropicalWeight &b) |
|
Definition at line 35 of file remove-eps-local-inl.h.
◆ operator()()
TropicalWeight operator() |
( |
const TropicalWeight & |
a, |
|
|
const TropicalWeight & |
b |
|
) |
| |
|
inline |
Definition at line 36 of file remove-eps-local-inl.h.
References fst::Plus().
38 LogWeight a_log(a.Value()), b_log(b.Value());
39 return TropicalWeight(
Plus(a_log, b_log).Value());
LatticeWeightTpl< FloatType > Plus(const LatticeWeightTpl< FloatType > &w1, const LatticeWeightTpl< FloatType > &w2)
The documentation for this struct was generated from the following file: