Searched refs:LogWeight (Results 1 – 7 of 7) sorted by relevance
/external/openfst/src/include/fst/ |
D | signed-log-weight.h | 255 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 …]
|
D | float-weight.h | 363 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(); }
|
D | fst-decl.h | 39 typedef LogWeightTpl<float> LogWeight; typedef 44 typedef ArcTpl<LogWeight> LogArc;
|
D | vector-fst.h | 401 LogWeight WeightFromString<LogWeight>::operator()(const string &s) { in operator() 404 return LogWeight(f); in operator()
|
D | arc.h | 68 typedef ArcTpl<LogWeight> LogArc;
|
/external/openfst/src/test/ |
D | weight_test.cc | 37 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()
|
D | fst_test.cc | 34 typedef ProductWeight<TropicalWeight, LogWeight> Weight;
|