Home
last modified time | relevance | path

Searched refs:class_size_ (Results 1 – 2 of 2) sorted by relevance

/external/openfst/src/include/fst/
Dpartition.h80 class_size_.reserve(num_states); in Initialize()
90 class_size_.resize(num_classes + 1, 0); in AddClass()
99 class_size_.resize(n, 0); in AllocateClasses()
117 class_size_[class_id]++; in Add()
131 class_size_[old_class_id]--; in Move()
137 if (class_size_[class_id] == 1) return; in SplitOn()
161 if (class_size_[class_id] == split_size_[class_id]) { in SplitRefine()
168 size_t remainder = class_size_[class_id] - split_size_[class_id]; in SplitRefine()
172 class_size_[class_id] = split_size_[class_id]; in SplitRefine()
173 class_size_[new_class] = remainder; in SplitRefine()
[all …]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dpartition.h75 class_size_.reserve(num_states); in Initialize()
85 class_size_.resize(num_classes + 1, 0); in AddClass()
94 class_size_.resize(n, 0); in AllocateClasses()
112 class_size_[class_id]++; in Add()
126 class_size_[old_class_id]--; in Move()
132 if (class_size_[class_id] == 1) return; in SplitOn()
156 if (class_size_[class_id] == split_size_[class_id]) { in SplitRefine()
163 size_t remainder = class_size_[class_id] - split_size_[class_id]; in SplitRefine()
167 class_size_[class_id] = split_size_[class_id]; in SplitRefine()
168 class_size_[new_class] = remainder; in SplitRefine()
[all …]