Home
last modified time | relevance | path

Searched refs:proba (Results 1 – 21 of 21) sorted by relevance

/external/lz4/tests/
Ddatagencli.c80 double proba = (double)COMPRESSIBILITY_DEFAULT / 100; in main() local
130 proba=0.0; in main()
133 proba *= 10; in main()
134 proba += *argument - '0'; in main()
137 if (proba>100.) proba=100.; in main()
138 proba /= 100.; in main()
166 … if (proba!=COMPRESSIBILITY_DEFAULT) DISPLAYLEVEL(3, "Compressibility : %i%%\n", (U32)(proba*100)); in main()
168 RDG_genOut(size, proba, litProba, seed); in main()
Dframetest.c128 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* see… in FUZ_fillCompressibleNoiseBuffer() argument
132 U32 P32 = (U32)(32768 * proba); in FUZ_fillCompressibleNoiseBuffer()
953 int proba = FUZ_COMPRESSIBILITY_DEFAULT; in main() local
1047 proba=0; in main()
1049 proba *= 10; in main()
1050 proba += *argument - '0'; in main()
1053 if (proba<0) proba=0; in main()
1054 if (proba>100) proba=100; in main()
1073 if (proba!=FUZ_COMPRESSIBILITY_DEFAULT) DISPLAY("Compressibility : %i%%\n", proba); in main()
1077 if (testNb==0) result = basicTests(seed, ((double)proba) / 100); in main()
[all …]
Dfuzzer.c134 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* see… in FUZ_fillCompressibleNoiseBuffer() argument
138 U32 const P32 = (U32)(32768 * proba); in FUZ_fillCompressibleNoiseBuffer()
1346 int proba = FUZ_COMPRESSIBILITY_DEFAULT; in main() local
1434 proba=0; in main()
1436 proba *= 10; in main()
1437 proba += *argument - '0'; in main()
1440 if (proba<0) proba=0; in main()
1441 if (proba>100) proba=100; in main()
1458 if (proba!=FUZ_COMPRESSIBILITY_DEFAULT) printf("Compressibility : %i%%\n", proba); in main()
1464 { int const result = FUZ_test(seed, nbTests, testNb, ((double)proba) / 100, duration); in main()
/external/webp/src/enc/
Dframe_enc.c95 VP8EncProba* const proba = &enc->proba_; in ResetStats() local
96 VP8CalculateLevelCosts(proba); in ResetStats()
97 proba->nb_skip_ = 0; in ResetStats()
111 VP8EncProba* const proba = &enc->proba_; in FinalizeSkipProba() local
113 const int nb_events = proba->nb_skip_; in FinalizeSkipProba()
115 proba->skip_proba_ = CalcSkipProba(nb_events, nb_mbs); in FinalizeSkipProba()
116 proba->use_skip_proba_ = (proba->skip_proba_ < SKIP_PROBA_THRESHOLD); in FinalizeSkipProba()
118 if (proba->use_skip_proba_) { in FinalizeSkipProba()
119 size += nb_events * VP8BitCost(1, proba->skip_proba_) in FinalizeSkipProba()
120 + (nb_mbs - nb_events) * VP8BitCost(0, proba->skip_proba_); in FinalizeSkipProba()
[all …]
Dcost_enc.h59 static WEBP_INLINE int VP8BitCost(int bit, uint8_t proba) { in VP8BitCost() argument
60 return !bit ? VP8EntropyCost[proba] : VP8EntropyCost[255 - proba]; in VP8BitCost()
65 void VP8CalculateLevelCosts(VP8EncProba* const proba);
Dcost_enc.c60 void VP8CalculateLevelCosts(VP8EncProba* const proba) { in VP8CalculateLevelCosts() argument
63 if (!proba->dirty_) return; // nothing to do. in VP8CalculateLevelCosts()
69 const uint8_t* const p = proba->coeffs_[ctype][band][ctx]; in VP8CalculateLevelCosts()
70 uint16_t* const table = proba->level_cost_[ctype][band][ctx]; in VP8CalculateLevelCosts()
84 proba->remapped_costs_[ctype][n][ctx] = in VP8CalculateLevelCosts()
85 proba->level_cost_[ctype][VP8EncBands[n]][ctx]; in VP8CalculateLevelCosts()
89 proba->dirty_ = 0; in VP8CalculateLevelCosts()
Dtoken_enc.c104 uint32_t bit, uint32_t proba) { in AddConstantToken() argument
105 assert(proba < 256); in AddConstantToken()
109 b->tokens_[slot] = (bit << 15) | FIXED_PROBA_BIT | proba; in AddConstantToken()
Dsyntax_enc.c190 const VP8EncProba* const proba = &enc->proba_; in PutSegmentHeader() local
208 if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { in PutSegmentHeader()
209 VP8PutBits(bw, proba->segments_[s], 8); in PutSegmentHeader()
/external/webp/src/dec/
Dtree_dec.c284 void VP8ResetProba(VP8Proba* const proba) { in VP8ResetProba() argument
285 memset(proba->segments_, 255u, sizeof(proba->segments_)); in VP8ResetProba()
511 VP8Proba* const proba = &dec->proba_; in VP8ParseProba() local
519 proba->bands_[t][b].probas_[c][p] = v; in VP8ParseProba()
524 proba->bands_ptr_[t][b] = &proba->bands_[t][kBands[b]]; in VP8ParseProba()
Dvp8i_dec.h275 void VP8ResetProba(VP8Proba* const proba);
Dvp8_dec.c161 VP8SegmentHeader* hdr, VP8Proba* proba) { in ParseSegmentHeader() argument
180 proba->segments_[s] = VP8Get(br) ? VP8GetValue(br, 8) : 255u; in ParseSegmentHeader()
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dtarget_column.py164 def logits_to_predictions(self, logits, proba=False): argument
274 def logits_to_predictions(self, logits, proba=False): argument
283 predictions = self.logits_to_predictions(logits, proba=False)
304 def logits_to_predictions(self, logits, proba=False): argument
308 if proba:
357 class_predictions = self.logits_to_predictions(logits, proba=False)
362 predictions = self.logits_to_predictions(logits, proba=True)
389 def logits_to_predictions(self, logits, proba=False): argument
390 if proba:
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dquantized_distribution_test.py336 proba = qdist.log_prob(x)
337 grads = gradients_impl.gradients(proba, [mu, sigma])
340 self._assert_all_finite(proba.eval())
355 proba = qdist.prob(x)
356 self._assert_all_finite(proba.eval())
358 grads = gradients_impl.gradients(proba, [mu, sigma])
/external/tensorflow/tensorflow/python/keras/engine/
Dsequential.py313 proba = self.predict(x, batch_size=batch_size, verbose=verbose)
314 if proba.shape[-1] > 1:
315 return proba.argmax(axis=-1)
317 return (proba > 0.5).astype('int32')
/external/tensorflow/tensorflow/python/keras/wrappers/
Dscikit_learn_test.py67 proba = clf.predict_proba(x_test, batch_size=BATCH_SIZE)
68 assert proba.shape == (TEST_SAMPLES, NUM_CLASSES)
69 assert np.allclose(np.sum(proba, axis=1), np.ones(TEST_SAMPLES))
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Drnn_common.py286 flattened_activations, proba=True)
300 flattened_activations, proba=False)
Ddynamic_rnn_estimator.py296 last_activations, proba=True)
302 last_activations, proba=False)
Ddynamic_rnn_estimator_test.py77 def logits_to_predictions(self, flattened_activations, proba=False): argument
/external/libvpx/libvpx/vp8/encoder/
Dbitstream.c188 const unsigned char *proba = b->prob; in vp8_pack_tokens() local
195 split = 1 + (((range - 1) * proba[i >> 1]) >> 8); in vp8_pack_tokens()
/external/ltp/testcases/kernel/syscalls/epoll2/man/
Depoll.txt42 the EPOLLET flag, the call to epoll_wait(2) done in step 5 will proba-
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt155855 proba %7157