Searched refs:ProductWeight (Results 1 – 10 of 10) sorted by relevance
/external/openfst/src/include/fst/ |
D | product-weight.h | 35 class ProductWeight : public PairWeight<W1, W2> { 43 typedef ProductWeight<typename W1::ReverseWeight, typename W2::ReverseWeight> 46 ProductWeight() {} in ProductWeight() function 48 ProductWeight(const PairWeight<W1, W2>& w) : PairWeight<W1, W2>(w) {} in ProductWeight() function 50 ProductWeight(W1 w1, W2 w2) : PairWeight<W1, W2>(w1, w2) {} in ProductWeight() function 52 static const ProductWeight<W1, W2> &Zero() { in Zero() 53 static const ProductWeight<W1, W2> zero(PairWeight<W1, W2>::Zero()); in Zero() 57 static const ProductWeight<W1, W2> &One() { in One() 58 static const ProductWeight<W1, W2> one(PairWeight<W1, W2>::One()); in One() 62 static const ProductWeight<W1, W2> &NoWeight() { in NoWeight() [all …]
|
D | string-weight.h | 542 struct GallicWeight : public ProductWeight<StringWeight<L, S>, W> { 549 : ProductWeight<StringWeight<L, S>, W>(w1, w2) {} in GallicWeight() 552 : ProductWeight<StringWeight<L, S>, W>(s, nread) {} 554 GallicWeight(const ProductWeight<StringWeight<L, S>, W> &w) in GallicWeight() 555 : ProductWeight<StringWeight<L, S>, W>(w) {} in GallicWeight()
|
D | arc.h | 190 typedef ProductWeight<W1, W2> Weight;
|
D | random-weight.h | 185 class W = ProductWeight<typename G1::Weight, typename G2::Weight> >
|
D | signed-log-weight.h | 77 ProductWeight<X1, X2> Quantize(float delta = kDelta) const {
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | product-weight.h | 30 class ProductWeight { 32 typedef ProductWeight<typename W1::ReverseWeight, typename W2::ReverseWeight> 35 ProductWeight() {} in ProductWeight() function 37 ProductWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} in ProductWeight() function 39 static const ProductWeight<W1, W2> &Zero() { in Zero() 40 static const ProductWeight<W1, W2> zero(W1::Zero(), W2::Zero()); in Zero() 44 static const ProductWeight<W1, W2> &One() { in One() 45 static const ProductWeight<W1, W2> one(W1::One(), W2::One()); in One() 64 ProductWeight<W1, W2> &operator=(const ProductWeight<W1, W2> &w) { 80 ProductWeight<W1, W2> Quantize(float delta = kDelta) const { [all …]
|
D | string-weight.h | 507 struct GallicWeight : public ProductWeight<StringWeight<L, S>, W> { 514 : ProductWeight<StringWeight<L, S>, W>(w1, w2) {} in GallicWeight() 517 : ProductWeight<StringWeight<L, S>, W>(s, nread) {} 519 GallicWeight(const ProductWeight<StringWeight<L, S>, W> &w) in GallicWeight() 520 : ProductWeight<StringWeight<L, S>, W>(w) {} in GallicWeight()
|
D | random-weight.h | 129 typedef ProductWeight<W1, W2> Weight;
|
/external/openfst/src/test/ |
D | weight_test.cc | 56 using fst::ProductWeight; 140 typedef ProductWeight<TropicalWeight, TropicalWeight> TropicalProductWeight; in main() 158 typedef ProductWeight<TropicalWeight, TropicalProductWeight> in main() 169 typedef ProductWeight<TropicalProductWeight, TropicalWeight> in main()
|
D | fst_test.cc | 34 typedef ProductWeight<TropicalWeight, LogWeight> Weight;
|