Home
last modified time | relevance | path

Searched defs:scales (Results 1 – 25 of 74) sorted by relevance

123

/external/tensorflow/tensorflow/lite/kernels/internal/
Dper_channel_dequantize_test.cc30 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/
Dquantization_test.cc40 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
Dquantization.cc28 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()
Dmodel-executor.cc71 const TfLiteTensor* scales = interpreter->tensor(1); in FromBuffer() local
92 const TfLiteTensor* scales, const TfLiteTensor* embeddings, in TFLiteEmbeddingExecutor()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dadd_test.cc226 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
Dsub_test.cc225 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
Dconv_test.cc241 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/
Dconv_slicing_test.cc294 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
Ddepthwise_conv_slicing_test.cc224 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/
Dtesting_helpers_test.cc50 float scales[channels + 1]; in TF_LITE_MICRO_TEST() local
88 float scales[channels + 1]; in TF_LITE_MICRO_TEST() local
Dmicro_utils.h84 float* scales) { in SymmetricPerChannelQuantize()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc194 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
Dquantization_utils_test.cc362 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/
Dnearest_upsample.py37 def new_shape_for_upsample(original_shape, scales, axis): argument
/external/skqp/src/gpu/effects/
DGrYUVtoRGBEffect.h36 GrYUVtoRGBEffect(const sk_sp<GrTextureProxy> proxies[], const SkSize scales[], in GrYUVtoRGBEffect()
/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DQuantTypes.cpp292 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()
DTypeParser.cpp202 SmallVector<double, 1> scales; in parseUniformType() local
403 ArrayRef<double> scales = type.getScales(); in printUniformQuantizedPerAxisType() local
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc130 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/
DGrPathStencilFillOp.cpp80 SkScalar scales[2]; in prePreparePrograms() local
/external/dng_sdk/source/
Ddng_misc_opcodes.cpp1277 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/
Dmkl_dequantize_op.cc143 std::vector<float> scales; in Compute() local
Dmkl_requantize_per_channel_op.cc90 std::vector<float> scales(depth); in Compute() local
/external/skia/gm/
Dimagefiltersscaled.cpp114 SkVector scales[] = { in onDraw() local
/external/skia/tests/
DFontTest.cpp69 const float scales[] = {-5, 0, 1, 5}; in DEF_TEST() local
/external/skqp/gm/
Dimagefiltersscaled.cpp118 SkVector scales[] = { in onDraw() local

123