/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | per_channel_dequantize_test.cc | 30 const std::vector<float> scales = {0.5, 0.25}; in TEST() local 52 const std::vector<float> scales = {0.5, 0.25, 0.5, 0.25, 1.0}; in TEST() local 74 const std::vector<float> scales = {0.5, 0.25}; in TEST() local 98 const std::vector<float> scales = {0.5, 0.25, 0.5, 0.25, 1.0}; in TEST() local
|
/external/libtextclassifier/native/annotator/ |
D | quantization_test.cc | 40 std::vector<float> scales{{0.1, 9.0, -7.0}}; in TEST() local 92 std::vector<float> scales(num_buckets); in TEST() local 115 std::vector<float> scales(num_buckets, 1.0); in TEST() local 135 std::vector<float> scales(num_buckets, 1.0); in TEST() local
|
D | quantization.cc | 28 void DequantizeAdd8bit(const float* scales, const uint8* embeddings, in DequantizeAdd8bit() 40 void DequantizeAddNBit(const float* scales, const uint8* embeddings, in DequantizeAddNBit() 73 bool DequantizeAdd(const float* scales, const uint8* embeddings, in DequantizeAdd()
|
D | model-executor.cc | 71 const TfLiteTensor* scales = interpreter->tensor(1); in FromBuffer() local 92 const TfLiteTensor* scales, const TfLiteTensor* embeddings, in TFLiteEmbeddingExecutor()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | add_test.cc | 226 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local 247 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local 268 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local 289 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local 310 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local 342 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local 390 const float scales[] = {0.1, 0.1, 0.1}; in TF_LITE_MICRO_TEST() local 437 const float scales[] = {0.1, 0.05, 0.05}; in TF_LITE_MICRO_TEST() local 455 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local 475 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local
|
D | sub_test.cc | 225 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local 246 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local 267 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local 288 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local 309 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local 341 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local 389 const float scales[] = {0.1, 0.1, 0.1}; in TF_LITE_MICRO_TEST() local 436 const float scales[] = {0.1, 0.05, 0.05}; in TF_LITE_MICRO_TEST() local 454 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local 474 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local
|
D | conv_test.cc | 241 float scales[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local 283 float scales[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local 318 float scales[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local 372 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local 423 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local 536 float scales[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local
|
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/ |
D | conv_slicing_test.cc | 294 float scales[tflite::testing::kBias1Elements + 1]; in TF_LITE_MICRO_TEST() local 323 float scales[tflite::testing::kBias1Elements + 1]; in TF_LITE_MICRO_TEST() local 351 float scales[tflite::testing::kBias2Elements + 1]; in TF_LITE_MICRO_TEST() local 380 float scales[tflite::testing::kBias2Elements + 1]; in TF_LITE_MICRO_TEST() local 408 float scales[tflite::testing::kBias3Elements + 1]; in TF_LITE_MICRO_TEST() local 437 float scales[tflite::testing::kBias3Elements + 1]; in TF_LITE_MICRO_TEST() local 465 float scales[tflite::testing::kBias4Elements + 1]; in TF_LITE_MICRO_TEST() local 494 float scales[tflite::testing::kBias4Elements + 1]; in TF_LITE_MICRO_TEST() local
|
D | depthwise_conv_slicing_test.cc | 224 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local 267 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local 314 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local 364 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local 406 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local 451 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local 495 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local 542 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
|
/external/tensorflow/tensorflow/lite/micro/ |
D | testing_helpers_test.cc | 50 float scales[channels + 1]; in TF_LITE_MICRO_TEST() local 88 float scales[channels + 1]; in TF_LITE_MICRO_TEST() local
|
D | micro_utils.h | 84 float* scales) { in SymmetricPerChannelQuantize()
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantization_utils.cc | 194 std::vector<float>* scales, in GetSymmetricScalesFromMaxMin() 363 std::vector<float> scales(1, scaling_factor); in SymmetricQuantizeFloatsToInt16() local 531 TfLiteStatus AddQuantizationParams(const std::vector<float>& scales, in AddQuantizationParams() 582 std::vector<float> scales(channel_dim_size); in SymmetricQuantizeTensorPerChannel() local 602 const std::vector<float>& scales) { in SymmetricBiasQuantize() 636 std::vector<float> scales(1, scaling_factor); in SymmetricPerLayerBiasQuantize() local 662 std::vector<float> scales(number_of_dimension); in SymmetricPerChannelBiasQuantize() local
|
D | quantization_utils_test.cc | 362 std::vector<float> scales = std::vector<float>(quantization->min.size()); in TEST_F() local 385 std::vector<float> scales = std::vector<float>(quant_params->min.size()); in TEST_F() local 433 std::vector<float> scales = std::vector<float>(quant_params->min.size()); in TEST_F() local 653 const std::vector<float> scales = {0.5, 1.0, 1.5}; in TEST_F() local
|
/external/tensorflow/tensorflow/lite/testing/op_tests/ |
D | nearest_upsample.py | 37 def new_shape_for_upsample(original_shape, scales, axis): argument
|
/external/skqp/src/gpu/effects/ |
D | GrYUVtoRGBEffect.h | 36 GrYUVtoRGBEffect(const sk_sp<GrTextureProxy> proxies[], const SkSize scales[], in GrYUVtoRGBEffect()
|
/external/llvm-project/mlir/lib/Dialect/Quant/IR/ |
D | QuantTypes.cpp | 292 ArrayRef<double> scales, ArrayRef<int64_t> zeroPoints, in get() 302 ArrayRef<double> scales, ArrayRef<int64_t> zeroPoints, in getChecked() 312 ArrayRef<double> scales, ArrayRef<int64_t> zeroPoints, in verifyConstructionInvariants()
|
D | TypeParser.cpp | 202 SmallVector<double, 1> scales; in parseUniformType() local 403 ArrayRef<double> scales = type.getScales(); in printUniformQuantizedPerAxisType() local
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | quantization_utils.cc | 130 ArrayRef<double> scales = qtype.getScales(); in RescaleQuantizedType() local 212 SmallVector<double, 4> scales(qtype.getScales().begin(), in ResetAxisAndBroadcast() local 408 llvm::SmallVector<double, 4> scales(axis_size, 1.0); in GetUniformQuantizedTypeForBias() local 515 std::vector<float> scales; in QuantizeLegacy() local 558 SmallVector<double, 4> scales(mins.size()); in DownCastScale() local
|
/external/skia/src/gpu/tessellate/ |
D | GrPathStencilFillOp.cpp | 80 SkScalar scales[2]; in prePreparePrograms() local
|
/external/dng_sdk/source/ |
D | dng_misc_opcodes.cpp | 1277 uint32 scales = SafeUint32DivideUp (fAreaSpec.Area ().H (), in dng_opcode_ScalePerRow() local 1328 uint32 scales = SafeUint32DivideUp (fAreaSpec.Area ().H (), in PutData() local 1454 uint32 scales = SafeUint32DivideUp (fAreaSpec.Area ().W (), in dng_opcode_ScalePerColumn() local 1505 uint32 scales = SafeUint32DivideUp (fAreaSpec.Area ().W (), in PutData() local
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_dequantize_op.cc | 143 std::vector<float> scales; in Compute() local
|
D | mkl_requantize_per_channel_op.cc | 90 std::vector<float> scales(depth); in Compute() local
|
/external/skia/gm/ |
D | imagefiltersscaled.cpp | 114 SkVector scales[] = { in onDraw() local
|
/external/skia/tests/ |
D | FontTest.cpp | 69 const float scales[] = {-5, 0, 1, 5}; in DEF_TEST() local
|
/external/skqp/gm/ |
D | imagefiltersscaled.cpp | 118 SkVector scales[] = { in onDraw() local
|