Home
last modified time | relevance | path

Searched refs:LogWeight (Results 1 – 7 of 7) sorted by relevance

/external/openfst/src/include/fst/
Dsigned-log-weight.h255 struct WeightConvert<SignedLogWeight, LogWeight> {
256 LogWeight operator()(SignedLogWeight w) const {
257 if (!SignedLogConvertCheck<SignedLogWeight, LogWeight>(w))
258 return LogWeight::NoWeight();
264 struct WeightConvert<SignedLog64Weight, LogWeight> {
265 LogWeight operator()(SignedLog64Weight w) const {
266 if (!SignedLogConvertCheck<SignedLog64Weight, LogWeight>(w))
267 return LogWeight::NoWeight();
296 LogWeight x2 = w.Value();
302 struct WeightConvert<LogWeight, SignedLogWeight> {
[all …]
Dfloat-weight.h363 typedef LogWeightTpl<float> LogWeight; typedef
568 struct WeightConvert<LogWeight, TropicalWeight> {
569 TropicalWeight operator()(LogWeight w) const { return w.Value(); }
579 struct WeightConvert<TropicalWeight, LogWeight> {
580 LogWeight operator()(TropicalWeight w) const { return w.Value(); }
584 struct WeightConvert<Log64Weight, LogWeight> {
585 LogWeight operator()(Log64Weight w) const { return w.Value(); }
595 struct WeightConvert<LogWeight, Log64Weight> {
596 Log64Weight operator()(LogWeight w) const { return w.Value(); }
Dfst-decl.h39 typedef LogWeightTpl<float> LogWeight; typedef
44 typedef ArcTpl<LogWeight> LogArc;
Dvector-fst.h401 LogWeight WeightFromString<LogWeight>::operator()(const string &s) { in operator()
404 return LogWeight(f); in operator()
Darc.h68 typedef ArcTpl<LogWeight> LogArc;
/external/openfst/src/test/
Dweight_test.cc37 using fst::LogWeight;
115 CHECK(LogWeight::Type() == "log"); in main()
198 typedef SparsePowerWeight<LogWeight, size_t > LogSparsePowerWeight; in main()
209 typedef ExpectationWeight<LogWeight, LogWeight> in main()
218 typedef ExpectationWeight<LogWeight, LogSparsePowerWeight> in main()
Dfst_test.cc34 typedef ProductWeight<TropicalWeight, LogWeight> Weight;