Home
last modified time | relevance | path

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

123

/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.cc258 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local
279 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local
300 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local
321 const float scales[] = {0.25, 0.5, 1.0}; in TF_LITE_MICRO_TEST() local
342 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local
374 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local
422 const float scales[] = {0.1, 0.1, 0.1}; in TF_LITE_MICRO_TEST() local
439 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local
475 const float scales[] = {0.1, 0.05, 0.05}; in TF_LITE_MICRO_TEST() local
493 const float scales[] = {0.1, 0.05, 0.1}; in TF_LITE_MICRO_TEST() local
[all …]
Dconv_test.cc323 float scales[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local
355 float scales[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local
401 float scales[kBiasElements + 1]; in TF_LITE_MICRO_TEST() local
444 float scales[kBiasElements + 1]; in TF_LITE_MICRO_TEST() local
466 float scales[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local
Ddepthwise_conv_test.cc442 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
482 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
521 float scales[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
553 float scales[bias_size + 1]; in TF_LITE_MICRO_TEST() local
592 float scales[bias_size + 1]; in TF_LITE_MICRO_TEST() local
/external/tensorflow/tensorflow/lite/micro/
Dtesting_helpers_test.cc53 float scales[channels + 1]; in TF_LITE_MICRO_TEST() local
93 float scales[channels + 1]; in TF_LITE_MICRO_TEST() local
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dnearest_upsample.py37 def new_shape_for_upsample(original_shape, scales, axis): argument
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc154 std::vector<float>* scales, in GetSymmetricScalesFromMaxMin()
312 std::vector<float> scales(1, scaling_factor); in SymmetricQuantizeFloatsToInt16() local
473 TfLiteStatus AddQuantizationParams(const std::vector<float>& scales, in AddQuantizationParams()
522 std::vector<float> scales(channel_dim_size); in SymmetricQuantizeTensorPerChannel() local
563 std::vector<float> scales(1, scaling_factor); in SymmetricPerLayerBiasQuantize() local
576 std::vector<float> scales(number_of_dimension); in SymmetricPerChannelBiasQuantize() local
Dquantization_utils_test.cc361 std::vector<float> scales = std::vector<float>(quantization->min.size()); in TEST_F() local
384 std::vector<float> scales = std::vector<float>(quant_params->min.size()); in TEST_F() local
432 std::vector<float> scales = std::vector<float>(quant_params->min.size()); in TEST_F() local
612 const std::vector<float> scales = {0.5, 1.0, 1.5}; in TEST_F() local
/external/skqp/src/gpu/effects/
DGrYUVtoRGBEffect.h36 GrYUVtoRGBEffect(const sk_sp<GrTextureProxy> proxies[], const SkSize scales[], in GrYUVtoRGBEffect()
DGrBicubicEffect.cpp195 SkScalar scales[2]; in ShouldUseBicubic() local
DGrYUVtoRGBEffect.cpp45 SkSize scales[4]; in Make() local
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc75 ArrayRef<double> scales = qtype.getScales(); in RescaleQuantizedType() local
154 SmallVector<double, 4> scales(qtype.getScales().begin(), in ResetAxisAndBroadcast() local
346 llvm::SmallVector<double, 4> scales(axis_size, 1.0); in GetUniformQuantizedTypeForBias() local
/external/skia/tests/
DFontTest.cpp52 const float scales[] = {-5, -1, 0, 1, 5}; in DEF_TEST() local
/external/skia/src/gpu/tessellate/
DGrTessellatePathOp.cpp35 SkScalar scales[2]; in onPrepare() local
/external/tensorflow/tensorflow/core/kernels/
Dmkl_dequantize_op.cc139 std::vector<float> scales; in Compute() local
Dmkl_requantize_per_channel_op.cc85 std::vector<float> scales(depth); in Compute() local
/external/skia/gm/
Dimagefiltersscaled.cpp118 SkVector scales[] = { in onDraw() local
Ddftext.cpp59 SkScalar scales[] = { 2.0f*5.0f, 5.0f, 2.0f, 1.0f }; in onDraw() local
/external/skqp/gm/
Dimagefiltersscaled.cpp118 SkVector scales[] = { in onDraw() local
Ddftext.cpp43 SkScalar scales[] = { 2.0f*5.0f, 5.0f, 2.0f, 1.0f }; in onDraw() 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/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_aos.c229 LLVMValueRef scales[4]; in lp_build_unpack_arith_rgba_aos() local
374 LLVMValueRef scales[4]; in lp_build_pack_rgba_aos() local
/external/tensorflow/tensorflow/lite/python/
Dinterpreter_test.py65 def assertQuantizationParamsEqual(self, scales, zero_points, argument

123