Home
last modified time | relevance | path

Searched refs:multiplier (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/external/libxcam/modules/isp/
Disp_config_translator.cpp56 double multiplier = 0.0; in translate_white_balance() local
62 multiplier = (double)(1 << (16 - interger_bits)); in translate_white_balance()
64 to.gr = (uint32_t)(from.gr_gain * multiplier + 0.5); in translate_white_balance()
65 to.r = (uint32_t)(from.r_gain * multiplier + 0.5); in translate_white_balance()
66 to.b = (uint32_t)(from.b_gain * multiplier + 0.5); in translate_white_balance()
67 to.gb = (uint32_t)(from.gb_gain * multiplier + 0.5); in translate_white_balance()
76 double multiplier = (double)(1 << 16); in translate_black_level() local
79 to.level_gr = (uint32_t)(from.gr_level * multiplier + 0.5); in translate_black_level()
80 to.level_r = (uint32_t)(from.r_level * multiplier + 0.5); in translate_black_level()
81 to.level_b = (uint32_t)(from.b_level * multiplier + 0.5); in translate_black_level()
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dcost_estimator.cc58 Costs MultiplyCosts(const Costs& costs, int multiplier) { in MultiplyCosts() argument
59 CHECK_GE(multiplier, 0); in MultiplyCosts()
60 if (multiplier == 0) { in MultiplyCosts()
63 if (multiplier == 1) { in MultiplyCosts()
68 result.execution_time *= multiplier; in MultiplyCosts()
69 result.compute_time *= multiplier; in MultiplyCosts()
70 result.memory_time *= multiplier; in MultiplyCosts()
71 result.intermediate_memory_time *= multiplier; in MultiplyCosts()
72 result.intermediate_memory_read_time *= multiplier; in MultiplyCosts()
73 result.intermediate_memory_write_time *= multiplier; in MultiplyCosts()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_identity_test.py307 multiplier = linear_operator_test_util.random_sign_uniform(
312 multiplier = math_ops.cast(math_ops.abs(multiplier), dtype=dtype)
315 lin_op_multiplier = multiplier
319 multiplier, shape=None)
328 array_ops.expand_dims(multiplier, -1), -1)
338 num_rows=2, multiplier=1.)
344 num_rows=2, multiplier=-1.)
352 num_rows=2, multiplier=[1., 2., 3.])
358 num_rows=2, multiplier=[1., 2., 0.])
366 num_rows=2, multiplier=[1. + 0J])
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DMultiplierParseHandler.java14 private final Scale multiplier; field in MultiplierParseHandler
16 public MultiplierParseHandler(Scale multiplier) { in MultiplierParseHandler() argument
17 this.multiplier = multiplier; in MultiplierParseHandler()
23 multiplier.applyReciprocalTo(result.quantity); in postProcess()
30 return "<MultiplierHandler " + multiplier + ">"; in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DMultiplierParseHandler.java12 private final Scale multiplier; field in MultiplierParseHandler
14 public MultiplierParseHandler(Scale multiplier) { in MultiplierParseHandler() argument
15 this.multiplier = multiplier; in MultiplierParseHandler()
21 multiplier.applyReciprocalTo(result.quantity); in postProcess()
28 return "<MultiplierHandler " + multiplier + ">"; in toString()
/external/glide/library/src/main/java/com/bumptech/glide/
DMemoryCategory.java20 private float multiplier; field in MemoryCategory
22 MemoryCategory(float multiplier) { in MemoryCategory() argument
23 this.multiplier = multiplier; in MemoryCategory()
31 return multiplier; in getMultiplier()
/external/google-fruit/examples/scaling_doubles/
Dscaler.cpp26 Multiplier* multiplier; member in ScalerImpl
30 …INJECT(ScalerImpl(ASSISTED(double) factor, Multiplier* multiplier)) : multiplier(multiplier), fact… in INJECT() argument
33 return multiplier->multiply(x, factor); in scale()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DMultiplierFormatHandler.java13 final Scale multiplier; field in MultiplierFormatHandler
16 public MultiplierFormatHandler(Scale multiplier, MicroPropsGenerator parent) { in MultiplierFormatHandler() argument
17 this.multiplier = multiplier; in MultiplierFormatHandler()
24 multiplier.applyTo(quantity); in processQuantity()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMultiplierFormatHandler.java11 final Scale multiplier; field in MultiplierFormatHandler
14 public MultiplierFormatHandler(Scale multiplier, MicroPropsGenerator parent) { in MultiplierFormatHandler() argument
15 this.multiplier = multiplier; in MultiplierFormatHandler()
22 multiplier.applyTo(quantity); in processQuantity()
/external/grpc-grpc/test/core/backoff/
Dbackoff_test.cc36 const double multiplier = 1.0; in TEST() local
42 .set_multiplier(multiplier) in TEST()
59 const double multiplier = 1.0; in TEST() local
65 .set_multiplier(multiplier) in TEST()
75 const double multiplier = 2.0; in TEST() local
80 .set_multiplier(multiplier) in TEST()
131 const double multiplier = 1.0; in TEST() local
135 .set_multiplier(multiplier) in TEST()
160 multiplier), in TEST()
/external/libtextclassifier/annotator/
Dquantization.cc24 float multiplier, int value) { in DequantizeValue() argument
25 return 1.0 / num_sparse_features * (value - quantization_bias) * multiplier; in DequantizeValue()
32 const float multiplier = scales[bucket_id]; in DequantizeAdd8bit() local
35 DequantizeValue(num_sparse_features, kQuantizationBias8bit, multiplier, in DequantizeAdd8bit()
45 const float multiplier = scales[bucket_id]; in DequantizeAddNBit() local
59 multiplier, value); in DequantizeAddNBit()
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_identity.py552 multiplier, argument
591 with ops.name_scope(name, values=[multiplier, num_rows]):
592 self._multiplier = ops.convert_to_tensor(multiplier, name="multiplier")
614 array_ops.expand_dims(self.multiplier, -1), -1)
616 self._abs_multiplier = math_ops.abs(self.multiplier)
630 batch_shape = self.multiplier.get_shape()
636 batch_shape = array_ops.shape(self.multiplier)
641 math_ops.abs(self.multiplier), message="LinearOperator was singular")
645 math_ops.real(self.multiplier),
649 imag_multiplier = math_ops.imag(self.multiplier)
[all …]
Dadjoint_registrations.py59 multiplier = identity_operator.multiplier
60 if multiplier.dtype.is_complex:
61 multiplier = math_ops.conj(multiplier)
65 multiplier=multiplier,
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
Dpitest-4.c245 time_t multiplier = 1; in main() local
279 sleep(base_time + multiplier * 10 - seconds_read()); in main()
288 sleep(base_time + multiplier * 20 - seconds_read()); in main()
297 sleep(base_time + multiplier * 30 - seconds_read()); in main()
300 time_t timeout = multiplier * 40; in main()
306 sleep(base_time + multiplier * 40 - seconds_read()); in main()
309 timeout = multiplier * 20; in main()
315 sleep(base_time + multiplier * 75 - seconds_read()); in main()
319 sleep(base_time + multiplier * 85 - seconds_read()); in main()
323 sleep(base_time + multiplier * 95 - seconds_read()); in main()
Dpitest-2.c264 time_t multiplier = 1; in main() local
297 sleep(base_time + multiplier * 10 - seconds_read()); in main()
309 sleep(base_time + multiplier * 20 - seconds_read()); in main()
318 sleep(base_time + multiplier * 30 - seconds_read()); in main()
321 time_t timeout = multiplier * 20; in main()
327 sleep(base_time + multiplier * 60 - seconds_read()); in main()
335 sleep(base_time + multiplier * 90 - seconds_read()); in main()
339 sleep(base_time + multiplier * 100 - seconds_read()); in main()
343 sleep(base_time + multiplier * 110 - seconds_read()); in main()
346 sleep(base_time + multiplier * 120 - seconds_read()); in main()
Dpitest-3.c275 time_t multiplier = 1; in main() local
309 sleep(base_time + multiplier * 10 - seconds_read()); in main()
321 sleep(base_time + multiplier * 20 - seconds_read()); in main()
330 sleep(base_time + multiplier * 30 - seconds_read()); in main()
333 time_t timeout = multiplier * 20; in main()
339 sleep(base_time + multiplier * 60 - seconds_read()); in main()
347 sleep(base_time + multiplier * 90 - seconds_read()); in main()
351 sleep(base_time + multiplier * 100 - seconds_read()); in main()
355 sleep(base_time + multiplier * 110 - seconds_read()); in main()
358 sleep(base_time + multiplier * 120 - seconds_read()); in main()
Dpitest-6.c237 time_t multiplier = 1; in main() local
271 sleep(base_time + multiplier * 10 - seconds_read()); in main()
280 sleep(base_time + multiplier * 20 - seconds_read()); in main()
289 sleep(base_time + multiplier * 30 - seconds_read()); in main()
292 unsigned long timeout = multiplier * 20; in main()
298 sleep(base_time + multiplier * 40 - seconds_read()); in main()
305 sleep(base_time + multiplier * 60 - seconds_read()); in main()
309 sleep(base_time + multiplier * 70 - seconds_read()); in main()
313 sleep(base_time + multiplier * 80 - seconds_read()); in main()
Dpitest-5.c261 time_t multiplier = 1; in main() local
294 sleep(base_time + multiplier * 10 - seconds_read()); in main()
303 sleep(base_time + multiplier * 20 - seconds_read()); in main()
312 sleep(base_time + multiplier * 30 - seconds_read()); in main()
320 sleep(base_time + multiplier * 40 - seconds_read()); in main()
322 sleep(base_time + multiplier * 50 - seconds_read()); in main()
326 sleep(base_time + multiplier * 60 - seconds_read()); in main()
330 sleep(base_time + multiplier * 70 - seconds_read()); in main()
Dpitest-1.c238 int multiplier = 1; in main() local
271 sleep(base_time + multiplier * 10 - seconds_read()); in main()
281 sleep(base_time + multiplier * 20 - seconds_read()); in main()
290 sleep(base_time + multiplier * 30 - seconds_read()); in main()
294 time_t timeout = multiplier * 20; in main()
300 sleep(base_time + multiplier * 60 - seconds_read()); in main()
306 sleep(base_time + multiplier * 70 - seconds_read()); in main()
311 sleep(base_time + multiplier * 80 - seconds_read()); in main()
/external/ppp/pppd/plugins/pppoatm/
Dtext2qos.c28 const char *multiplier; in __t2q_get_rate() local
44 multiplier = NULL; in __t2q_get_rate()
45 if (*end && (multiplier = strchr(mult,*end))) { in __t2q_get_rate()
46 while (multiplier >= mult) { in __t2q_get_rate()
50 multiplier -= 2; in __t2q_get_rate()
65 if (multiplier) return RATE_ERROR; in __t2q_get_rate()
73 else if (multiplier) return RATE_ERROR; in __t2q_get_rate()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DExponentialBackoffPolicy.java42 private double multiplier = 1.6; field in ExponentialBackoffPolicy
50 nextBackoffNanos = Math.min((long) (currentBackoffNanos * multiplier), maxBackoffNanos); in nextBackoffNanos()
85 ExponentialBackoffPolicy setMultiplier(double multiplier) { in setMultiplier() argument
86 this.multiplier = multiplier; in setMultiplier()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/FunctionImport/
Dhotness_based_import.ll6 ; Test import with default hot multiplier (3) and default hot-evolution-factor (1.0)
8 …3.thinlto.bc %t.bc -import-instr-limit=1 --S -import-hot-multiplier=3.0 -import-cold-multiplier=0.…
9 …ummary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 --S -import-hot-multiplier=3.0 | FileCheck …
10 …ummary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 --S -import-hot-multiplier=3.0 -import-inst…
11 …ummary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 --S -import-hot-multiplier=3.0 -import-hot-…
27 …ummary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 --S -import-hot-multiplier=3.0 -import-hot-…
39 ; Test import with hot multiplier 1.0 - treat hot callsites as normal.
40 …t -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 -import-hot-multiplier=1.0 --S | FileCh…
50 …e %t3.thinlto.bc %t.bc -import-instr-limit=1 -import-hot-multiplier=1.0 -import-cold-multiplier=1.…
60 ; Test import with hot multiplier 0.0 and high threshold - don't import functions called from hot c…
[all …]
/external/libtextclassifier/lang_id/common/
Dembedding-network.cc175 float multiplier; in ConcatEmbeddings() local
182 multiplier = float_feature_value.weight; in ConcatEmbeddings()
186 multiplier = 1.0; in ConcatEmbeddings()
202 *concat_ptr += *weights * multiplier; in ConcatEmbeddings()
207 multiplier *= Float16To32(embedding_matrix.quant_scales[feature_id]); in ConcatEmbeddings()
214 (static_cast<int>(*quant_weights) - 128) * multiplier; in ConcatEmbeddings()
219 multiplier *= Float16To32(embedding_matrix.quant_scales[feature_id]); in ConcatEmbeddings()
225 (static_cast<int>((qq & 0xF0) | 0x08) - 128) * multiplier; in ConcatEmbeddings()
228 multiplier; in ConcatEmbeddings()
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dvector_diffeomixture_test.py51 multiplier=np.float32(1.1),
80 multiplier=np.float32(1.1),
109 multiplier=[np.float32(1.1)],
143 multiplier=[np.float32(1.1)],
168 multiplier=np.float32(1.5),
195 multiplier=np.float32(0.5),
232 multiplier=np.float32(0.5),
275 multiplier=np.float32(1.5),
300 multiplier=[np.float32(1.5)],
328 multiplier=np.float32(1.1),
/external/libtextclassifier/annotator/duration/
Dduration.cc203 int multiplier; in ParsedDurationAtomsToMillis() local
206 multiplier = 7 * 24 * 60 * 60 * 1000; in ParsedDurationAtomsToMillis()
209 multiplier = 24 * 60 * 60 * 1000; in ParsedDurationAtomsToMillis()
212 multiplier = 60 * 60 * 1000; in ParsedDurationAtomsToMillis()
215 multiplier = 60 * 1000; in ParsedDurationAtomsToMillis()
218 multiplier = 1000; in ParsedDurationAtomsToMillis()
233 result += value * multiplier; in ParsedDurationAtomsToMillis()
234 result += atom.plus_half * multiplier / 2; in ParsedDurationAtomsToMillis()

12345678910>>...13