Home
last modified time | relevance | path

Searched refs:ProductWeight (Results 1 – 10 of 10) sorted by relevance

/external/openfst/src/include/fst/
Dproduct-weight.h35 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 …]
Dstring-weight.h542 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()
Darc.h190 typedef ProductWeight<W1, W2> Weight;
Drandom-weight.h185 class W = ProductWeight<typename G1::Weight, typename G2::Weight> >
Dsigned-log-weight.h77 ProductWeight<X1, X2> Quantize(float delta = kDelta) const {
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dproduct-weight.h30 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 …]
Dstring-weight.h507 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()
Drandom-weight.h129 typedef ProductWeight<W1, W2> Weight;
/external/openfst/src/test/
Dweight_test.cc56 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()
Dfst_test.cc34 typedef ProductWeight<TropicalWeight, LogWeight> Weight;