/external/tensorflow/tensorflow/python/kernel_tests/linalg/ |
D | linear_operator_identity_test.py | 331 multiplier = linear_operator_test_util.random_sign_uniform( 336 multiplier = math_ops.cast(math_ops.abs(multiplier), dtype=dtype) 339 lin_op_multiplier = multiplier 343 multiplier, shape=None) 352 array_ops.expand_dims(multiplier, -1), -1) 361 num_rows=2, multiplier=1.) 367 num_rows=2, multiplier=-1.) 374 num_rows=2, multiplier=[1., 2., 3.]) 380 num_rows=2, multiplier=[1., 2., 0.]) 387 num_rows=2, multiplier=[1. + 0J]) [all …]
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | cost_estimator.cc | 58 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()
|
/external/python/python-api-core/google/api_core/ |
D | retry.py | 125 def exponential_sleep_generator(initial, maximum, multiplier=_DEFAULT_DELAY_MULTIPLIER): argument 147 delay = delay * multiplier 249 multiplier=_DEFAULT_DELAY_MULTIPLIER, argument 255 self._multiplier = multiplier 281 self._initial, self._maximum, multiplier=self._multiplier 310 multiplier=self._multiplier, 329 multiplier=self._multiplier, 334 def with_delay(self, initial=None, maximum=None, multiplier=None): argument 350 multiplier=multiplier if multiplier is not None else self._multiplier,
|
D | retry_async.py | 181 multiplier=_DEFAULT_DELAY_MULTIPLIER, argument 187 self._multiplier = multiplier 213 self._initial, self._maximum, multiplier=self._multiplier 230 multiplier=None, argument 238 multiplier=multiplier or self._multiplier, 266 def with_delay(self, initial=None, maximum=None, multiplier=None): argument 278 return self._replace(initial=initial, maximum=maximum, multiplier=multiplier)
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | MultiplierParseHandler.java | 14 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/ |
D | MultiplierParseHandler.java | 12 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/tensorflow/tensorflow/lite/delegates/gpu/common/transformations/ |
D | fuse_mul_to_conv.cc | 181 const float multiplier = mul ? mul->data[d] : *mul_scalar; in FuseConvolution2DWithMultiply() local 186 attr->weights.data[index] *= multiplier; in FuseConvolution2DWithMultiply() 191 attr->bias.data[d] *= multiplier; in FuseConvolution2DWithMultiply() 204 const float multiplier = mul ? mul->data[d] : *mul_scalar; in FuseDepthwiseConvolution2DWithMultiply() local 208 attr->weights.data[index] *= multiplier; in FuseDepthwiseConvolution2DWithMultiply() 212 attr->bias.data[d] *= multiplier; in FuseDepthwiseConvolution2DWithMultiply() 224 const float multiplier = mul ? mul->data[d] : *mul_scalar; in FuseConvolutionTransposedWithMultiply() local 229 attr->weights.data[index] *= multiplier; in FuseConvolutionTransposedWithMultiply() 234 attr->bias.data[d] *= multiplier; in FuseConvolutionTransposedWithMultiply() 244 const float multiplier = mul ? mul->data[d] : *mul_scalar; in FuseFullyConnectedWithMultiply() local [all …]
|
/external/webrtc/common_audio/ |
D | smoothing_filter.cc | 83 float multiplier = 0.0f; in ExtrapolateLastSample() local 95 multiplier = 0.0f; in ExtrapolateLastSample() 98 multiplier = std::exp(last_state_time_ms_ - time_ms); in ExtrapolateLastSample() 100 multiplier = std::exp( in ExtrapolateLastSample() 112 multiplier = powf(alpha_, time_ms - last_state_time_ms_); in ExtrapolateLastSample() 115 state_ = multiplier * state_ + (1.0f - multiplier) * last_sample_; in ExtrapolateLastSample()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_uniforms_to_ubo.c | 45 lower_instr(nir_intrinsic_instr *instr, nir_builder *b, int multiplier) in lower_instr() argument 62 nir_iadd(b, nir_imm_int(b, multiplier * nir_intrinsic_base(instr)), in lower_instr() 63 nir_imul(b, nir_imm_int(b, multiplier), in lower_instr() 84 nir_intrinsic_base(instr) * multiplier) % in lower_instr() 87 nir_intrinsic_set_align(load, MAX2(multiplier, in lower_instr() 96 nir_intrinsic_set_range_base(load, nir_intrinsic_base(instr) * multiplier); in lower_instr() 97 nir_intrinsic_set_range(load, nir_intrinsic_range(instr) * multiplier); in lower_instr() 107 nir_lower_uniforms_to_ubo(nir_shader *shader, int multiplier) in nir_lower_uniforms_to_ubo() argument 120 multiplier); in nir_lower_uniforms_to_ubo()
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
D | MemoryCategory.java | 20 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/ComputeLibrary/src/core/utils/quantization/ |
D | AsymmHelpers.cpp | 39 Status calculate_quantized_multiplier(float multiplier, int32_t *quant_multiplier, int32_t *shift, … in calculate_quantized_multiplier() argument 41 if(multiplier >= 1.f) in calculate_quantized_multiplier() 43 …Status status = calculate_quantized_multiplier_greater_than_one(multiplier, quant_multiplier, shif… in calculate_quantized_multiplier() 49 …return calculate_quantized_multiplier_less_than_one(multiplier, quant_multiplier, shift, ignore_ep… in calculate_quantized_multiplier() 53 Status calculate_quantized_multiplier_less_than_one(float multiplier, in calculate_quantized_multiplier_less_than_one() argument 62 ARM_COMPUTE_RETURN_ERROR_ON(multiplier < -internal_epsilon); in calculate_quantized_multiplier_less_than_one() 63 ARM_COMPUTE_RETURN_ERROR_ON(multiplier > 1.0f + internal_epsilon); in calculate_quantized_multiplier_less_than_one() 66 const double q = std::frexp(multiplier, &shift_exp); in calculate_quantized_multiplier_less_than_one() 89 Status calculate_quantized_multiplier_greater_than_one(float multiplier, in calculate_quantized_multiplier_greater_than_one() argument 95 ARM_COMPUTE_RETURN_ERROR_ON(multiplier < 1.f); in calculate_quantized_multiplier_greater_than_one() [all …]
|
/external/google-fruit/examples/scaling_doubles/ |
D | scaler.cpp | 26 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/ |
D | MultiplierFormatHandler.java | 13 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/ |
D | MultiplierFormatHandler.java | 11 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/libtextclassifier/native/annotator/ |
D | quantization.cc | 24 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/grpc-grpc/test/core/backoff/ |
D | backoff_test.cc | 36 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/tensorflow/tensorflow/python/ops/linalg/ |
D | linear_operator_identity.py | 588 multiplier, argument 627 multiplier=multiplier, 637 with ops.name_scope(name, values=[multiplier, num_rows]): 639 multiplier, name="multiplier") 674 batch_shape = self.multiplier.shape 680 batch_shape = array_ops.shape(self.multiplier) 685 math_ops.abs(self.multiplier), message="LinearOperator was singular") 689 math_ops.real(self.multiplier), 693 imag_multiplier = math_ops.imag(self.multiplier) 702 array_ops.expand_dims(self.multiplier, -1), -1) [all …]
|
D | adjoint_registrations.py | 56 multiplier = identity_operator.multiplier 57 if multiplier.dtype.is_complex: 58 multiplier = math_ops.conj(multiplier) 62 multiplier=multiplier,
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | all_reduce_simplifier.cc | 111 auto multiplier = in Run() local 115 multiplier = all_reduce->parent()->AddInstruction( in Run() 118 multiplier->shape(), all_reduce->shape().element_type()), in Run() 119 multiplier)); in Run() 122 multiplier = all_reduce->parent()->AddInstruction( in Run() 123 HloInstruction::CreateBroadcast(all_reduce->shape(), multiplier, in Run() 129 all_reduce->mutable_operand(0), multiplier)); in Run()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/ |
D | mean.h | 30 int32 multiplier, int32 shift, int32 bias, in MeanImpl() argument 95 MultiplyByQuantizedMultiplier4Rows(temp_sum, multiplier, shift); in MeanImpl() 136 acc = MultiplyByQuantizedMultiplier(acc, multiplier, shift); in MeanImpl() 148 int32 multiplier, int32 shift, int32 bias, in MeanWorkerTask() 154 multiplier(multiplier), in MeanWorkerTask() 163 MeanImpl(op_params, input_shape, input_data, multiplier, shift, bias, in Run() 171 int32 multiplier; member 214 int32 multiplier, shift; in Mean() local 215 QuantizeMultiplier(real_scale, &multiplier, &shift); in Mean() 224 MeanImpl(op_params, input_shape, input_data, multiplier, shift, bias, in Mean() [all …]
|
/external/mesa3d/src/util/ |
D | fast_idiv_by_const.h | 67 int64_t multiplier; /* the "magic number" multiplier */ member 119 uint64_t multiplier; /* the "magic number" multiplier */ member 145 n = (((uint64_t)n + info.increment) * info.multiplier) >> 32; in util_fast_udiv32() 159 n = ((uint64_t)n * info.multiplier) >> 32; in util_fast_udiv32_nuw() 174 n = ((uint64_t)n * info.multiplier) >> 32; in util_fast_udiv32_u31_d_not_one()
|
D | fast_idiv_by_const.c | 60 result.multiplier = 1ull << (UINT_BITS - div_shift); in util_compute_fast_udiv_info() 68 result.multiplier = UINT_BITS == 64 ? UINT64_MAX : in util_compute_fast_udiv_info() 144 result.multiplier = quotient + 1; in util_compute_fast_udiv_info() 151 result.multiplier = down_multiplier; in util_compute_fast_udiv_info() 239 result.multiplier = sign_extend(quotient2 + 1, SINT_BITS); in util_compute_fast_sdiv_info() 240 if (D < 0) result.multiplier = -result.multiplier; in util_compute_fast_sdiv_info()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/ |
D | conv.cc | 197 int multiplier = SelectMultiplier(ctx.input_shapes[0][2], ctx); in GenerateCode() local 210 for (int i = 0; i < multiplier; i++) { in GenerateCode() 215 for (int i = 0; i < multiplier; i++) { in GenerateCode() 217 multiplier, " + ", i, ",gid.y,l]$;\n"); in GenerateCode() 221 for (int i = 0; i < multiplier; i++) { in GenerateCode() 230 for (int i = 0; i < multiplier; i++) { in GenerateCode() 234 if (multiplier != 1) { in GenerateCode() 235 for (int i = 0; i < multiplier; i++) { in GenerateCode() 237 absl::StrAppend(&source, "$output_data_0[gid.x * ", multiplier, " + ", in GenerateCode() 284 uint3(ctx.output_shapes[0][2] / multiplier, ctx.output_shapes[0][1], in GenerateCode() [all …]
|
/external/XNNPACK/src/qu8-requantization/ |
D | gemmlowp-scalar.c | 34 …const int32_t multiplier = (int32_t)(((scale_bits & UINT32_C(0x007FFFFF)) | UINT32_C(0x00800000)) … in xnn_qu8_requantize_gemmlowp__scalar() local 35 assert(multiplier >= INT32_C(0x40000000)); in xnn_qu8_requantize_gemmlowp__scalar() 36 assert(multiplier <= INT32_C(0x7FFFFF80)); in xnn_qu8_requantize_gemmlowp__scalar() 58 const int64_t x_product = (int64_t) x * (int64_t) multiplier; in xnn_qu8_requantize_gemmlowp__scalar() 59 const int64_t y_product = (int64_t) y * (int64_t) multiplier; in xnn_qu8_requantize_gemmlowp__scalar() 60 const int64_t z_product = (int64_t) z * (int64_t) multiplier; in xnn_qu8_requantize_gemmlowp__scalar() 61 const int64_t w_product = (int64_t) w * (int64_t) multiplier; in xnn_qu8_requantize_gemmlowp__scalar()
|
/external/ppp/pppd/plugins/pppoatm/ |
D | text2qos.c | 28 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()
|