HomeSort by relevance Sort by last modified time
    Searched defs:Weight (Results 76 - 100 of 102) sorted by null

1 2 34 5

  /external/openfst/src/include/fst/
queue.h 51 // // Updates ordering of state s when weight changes, if necessary
279 typedef typename L::Weight Weight;
282 StateWeightCompare(const vector<Weight>& weights, const L &less)
290 const vector<Weight>& weights_;
295 // Shortest-first queue discipline, templated on the StateId and Weight, is
296 // specialized to use the weight's natural order for the comparison function.
540 // the Weight type has the path property, will entertain the
543 AutoQueue(const Fst<Arc> &fst, const vector<typename Arc::Weight> *distance,
545 typedef typename Arc::Weight Weight
    [all...]
randgen.h 40 // transition is selected. If N == NumArcs(), then the final weight at
50 typedef typename A::Weight Weight;
57 if (fst.Final(s) != Weight::Zero())
65 // log probabilities after normalizing for the total weight leaving
66 // the state. Weight::zero transitions are disregarded.
67 // Assumes Weight::Value() accesses the floating point
68 // representation of the weight.
73 typedef typename A::Weight Weight;
463 Weight weight = weighted_ ? to_weight_(-log(prob)) : Weight::One(); local
472 Weight weight = remove_total_weight_ ? local
    [all...]
vector-fst.h 45 typedef typename Arc::Weight Weight;
57 Weight Final(StateId s) const { return states_[s]->final; }
65 void SetFinal(StateId s, Weight w) { states_[s]->final = w; }
168 typedef typename A::Weight Weight;
171 VectorState() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {}
173 Weight final; // Final weight
198 typedef typename A::Weight Weight
    [all...]
arc-map.h 41 // A final weight is mapped into a final weight. An error
45 // A final weight is mapped to an arc to the superfinal state
46 // when the result cannot be represented as a final weight.
50 // A final weight is mapped to an arc to the superfinal state
51 // unless the result can be represented as a final weight of weight
83 // // form A(0, 0, weight, kNoStateId).
114 typedef typename A::Weight Weight;
    [all...]
cache.h 93 // you must set the final weight even if the state is non-final to
108 typedef typename Arc::Weight Weight;
219 void SetFinal(StateId s, Weight w) {
372 // Is the final weight of state s cached?
394 Weight Final(StateId s) const {
473 static const uint32 kCacheFinal = 0x0001; // Final weight has been cached
613 typedef typename A::Weight Weight;
616 CacheState() : final(Weight::Zero()), flags(0), ref_count(0) {
    [all...]
compact-fst.h 62 // non-Zero() final weight as a transition). A typical example is a
127 // 'Final(s) != Weight::Zero()') is stored first.
213 typedef typename A::Weight Weight;
226 if (fst.Final(s) != Weight::Zero()) ++nfinals;
248 if (fst.Final(s) != Weight::Zero())
284 typedef typename Arc::Weight Weight;
288 // For strings, allow implicit final weight.
319 Weight::One(), kNoStateId))
    [all...]
determinize.h 39 #include <fst/factor-weight.h>
57 typedef W Weight;
70 typedef StringWeight<L, S> Weight;
72 Weight operator()(const Weight &w1, const Weight &w2) const {
77 FSTERROR() << "LabelCommonDivisor: Weight needs to be left semiring";
78 return Weight::NoWeight();
80 return Weight::One();
81 } else if (w1 == Weight::Zero())
133 Weight weight; \/\/ Residual weight member in struct:fst::DeterminizeElement
    [all...]
fst.h 165 typedef typename A::Weight Weight;
172 virtual Weight Final(StateId) const = 0; // State's final weight
384 static const uint32 kArcWeightValue = 0x0004; // " " " weight
542 typename F::Arc::Weight Final(const F &fst, typename F::Arc::StateId s) {
564 typename A::Weight Final(const Fst<A> &fst, typename A::StateId s) {
605 typedef typename A::Weight Weight;
838 typedef typename Arc::Weight Weight
    [all...]
replace.h 329 typedef typename A::Weight Weight;
496 // return final weight of state (kInfWeight means state is not final)
497 Weight Final(StateId s) {
504 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth() == 0)
507 SetFinal(s, Weight::Zero());
698 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth()) {
709 arcp->weight = fst->Final(fst_state);
733 *arcp = A(arc.ilabel, arc.olabel, arc.weight, nextstate);
753 *arcp = A(ilabel, 0, arc.weight, nt_nextstate)
    [all...]
  /external/vboot_reference/utility/
efidecompress.c 208 UINT16 Weight[17];
243 Weight[Index] = (UINT16) (1U << (TableBits - Index));
247 Weight[Index] = (UINT16) (1U << (16 - Index));
270 NextCode = (UINT16) (Start[Len] + Weight[Len]);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
d3dx9anim.h 137 FLOAT Weight;
152 FLOAT Weight;
339 STDMETHOD(SetTrackWeight)(THIS_ UINT track, FLOAT weight) PURE;
d3dx9core.h 101 UINT Weight;
115 UINT Weight;
482 HRESULT WINAPI D3DXCreateFontA(struct IDirect3DDevice9 *device, INT height, UINT width, UINT weight,
485 HRESULT WINAPI D3DXCreateFontW(struct IDirect3DDevice9 *device, INT height, UINT width, UINT weight,
ksproxy.h 205 ULONG Weight;
  /external/llvm/include/llvm/Analysis/
BlockFrequencyInfoImpl.h 306 /// \brief Unscaled probability weight.
308 /// Probability weight for an edge in the graph (including the
315 /// In addition to the raw weight amount, Weight stores the type of the edge
319 struct Weight {
324 Weight() : Type(Local), Amount(0) {}
325 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount)
329 /// \brief Distribution of unscaled probability weight.
331 /// Distribution of unscaled probability weight to a set of successors.
338 typedef SmallVector<Weight, 4> WeightList
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineRegisterInfo.h     [all...]
  /external/llvm/lib/CodeGen/
LiveIntervalAnalysis.cpp 190 float Weight = TargetRegisterInfo::isPhysicalRegister(reg) ?
192 return new LiveInterval(reg, Weight);
    [all...]
  /external/llvm/lib/Transforms/Scalar/
Reassociate.cpp 411 /// IncorporateWeight - Add the extra weight 'RHS' to the existing weight 'LHS',
412 /// reducing the combined weight using any special properties of the operation.
413 /// The existing weight LHS represents the computation X op X op ... op X where
414 /// X occurs LHS times. The combined weight represents X op X op ... op X with
420 // weight would be LHS + RHS. But we are using finite precision arithmetic,
424 // weight back into range if wrapping would be wrong.
426 // If RHS is zero then the weight didn't change.
429 // If LHS is zero then the combined weight is RHS.
437 // Idempotent means X op X === X, so any non-zero weight is equivalent to
    [all...]
  /external/llvm/utils/TableGen/
CodeGenRegisters.h 436 // Weight assigned to this RegUnit for estimating register pressure.
439 unsigned Weight;
450 RegUnit() : Weight(0), RegClassUnitSetsIdx(0) {
466 unsigned Weight; // Cache the sum of all unit weights.
469 RegUnitSet() : Weight(0), Order(0) {}
546 // Compute a weight for each register unit created during getSubRegs.
629 unsigned newRegUnit(unsigned Weight) {
631 RegUnits.back().Weight = Weight;
637 // register additional weight but don't affect aliasing
    [all...]
CodeGenRegisters.cpp 525 unsigned Weight = 0;
528 Weight += RegBank.getRegUnit(*I).Weight;
530 return Weight;
    [all...]
  /external/openfst/src/include/fst/extensions/ngram/
ngram-fst.h 46 typedef typename A::Weight Weight;
78 typedef typename A::Weight Weight;
140 Weight Final(StateId state) const {
144 return Weight::Zero();
180 Weight weight; local
191 offset = (offset + sizeof(weight) - 1) & ~(sizeof(weight) - 1)
405 Weight weight; local
    [all...]
  /external/openfst/src/include/fst/extensions/pdt/
expand.h 80 typedef typename A::Weight Weight;
137 Weight Final(StateId s) {
140 Weight w = fst_->Final(tuple.state_id);
141 if (w != Weight::Zero() && tuple.stack_id == 0)
144 SetFinal(s, Weight::Zero());
232 typedef typename A::Weight Weight;
340 typedef typename A::Weight Weight;
    [all...]
shortest-path.h 71 typedef typename Arc::Weight Weight;
113 SearchData() : distance(Weight::Zero()),
118 Weight distance; // Distance to this state from PDT 'start' state
148 Weight Distance(SearchState s) const {
153 Weight Distance(const ParenSpec &paren) const {
178 void SetDistance(SearchState s, Weight w) {
183 void SetDistance(const ParenSpec &paren, Weight w) {
348 = Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId);
383 typedef typename Arc::Weight Weight
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
BaseAccountType.java 102 protected interface Weight {
151 R.string.nameLabelsGroup, Weight.NONE, true));
181 R.string.nameLabelsGroup, Weight.NONE, true));
222 R.string.name_phonetic, Weight.NONE, true));
242 R.string.nicknameLabelsGroup, Weight.NICKNAME, true));
258 Weight.PHONE, true));
297 Weight.EMAIL, true));
317 R.string.postalLabelsGroup, Weight.STRUCTURED_POSTAL, true));
340 Weight.IM, true));
371 R.string.organizationLabelsGroup, Weight.ORGANIZATION, true))
    [all...]
  /external/clang/lib/CodeGen/
CGStmt.cpp     [all...]
  /external/llvm/lib/Analysis/
CFLAliasAnalysis.cpp 103 // \brief Edges can be one of four "weights" -- each weight must have an inverse
104 // weight (Assign has Assign; Reference has Dereference).
106 // The weight assigned when assigning from or to a value. For example, in:
133 // \brief Edge weight
134 EdgeType Weight;
142 : From(From), To(To), Weight(W), AdditionalAttrs(A) {}
588 EdgeTypeT Weight;
591 Edge(const EdgeTypeT &W, const Node &N) : Weight(W), Other(N) {}
594 return Weight == E.Weight && Other == E.Other
    [all...]

Completed in 1452 milliseconds

1 2 34 5