/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/ |
D | depthwise_conv_slicing_test.cc | 207 const float bias_values[] = {2, 2}; in TF_LITE_MICRO_TEST() local 228 filter_shape, filter_values, filter_quantized, bias_shape, bias_values, in TF_LITE_MICRO_TEST() 250 const float bias_values[] = {2, 2}; in TF_LITE_MICRO_TEST() local 271 filter_shape, filter_values, filter_quantized, bias_shape, bias_values, in TF_LITE_MICRO_TEST() 293 const float bias_values[] = {2, 2}; in TF_LITE_MICRO_TEST() local 318 filter_shape, filter_values, filter_quantized, bias_shape, bias_values, in TF_LITE_MICRO_TEST() 343 float bias_values[] = {2, 2}; in TF_LITE_MICRO_TEST() local 368 filter_shape, filter_values, filter_quantized, bias_shape, bias_values, in TF_LITE_MICRO_TEST() 390 const float bias_values[] = {1}; in TF_LITE_MICRO_TEST() local 410 filter_shape, filter_values, filter_quantized, bias_shape, bias_values, in TF_LITE_MICRO_TEST() [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | depthwise_conv_test.cc | 250 const float bias_values[] = {1, 2, 3, 4}; in TF_LITE_MICRO_TEST() local 265 bias_values, golden, output_shape, &conv_params, output_data); in TF_LITE_MICRO_TEST() 279 const float bias_values[] = {1, 2, 3, 4}; in TF_LITE_MICRO_TEST() local 306 filter_zero_point, bias_shape, bias_values, bias_quantized, golden, in TF_LITE_MICRO_TEST() 325 const float bias_values[] = {1, 2, 3, 4}; in TF_LITE_MICRO_TEST() local 353 filter_zero_point, bias_shape, bias_values, bias_quantized, golden, in TF_LITE_MICRO_TEST() 365 const float bias_values[] = {1, 2, 3, 4}; in TF_LITE_MICRO_TEST() local 378 bias_values, golden_relu, output_shape, &conv_params, output_data); in TF_LITE_MICRO_TEST() 392 const float bias_values[] = {1, 2, 3, 4}; in TF_LITE_MICRO_TEST() local 417 filter_zero_point, bias_shape, bias_values, bias_quantized, golden_relu, in TF_LITE_MICRO_TEST() [all …]
|
D | conv_test.cc | 88 const float bias_values[] = {0}; in TF_LITE_MICRO_TEST() local 96 kFilterShape, filter_values, kBiasShape, bias_values, kOutputShape, in TF_LITE_MICRO_TEST() 305 const float bias_values[] = {1, 2, -3}; in TF_LITE_MICRO_TEST() local 326 filter_quantized, tflite::testing::kBiasShape, bias_values, in TF_LITE_MICRO_TEST() 617 float bias_values[kSampleSize]; in TF_LITE_MICRO_TEST() local 631 bias_values[i] = i; in TF_LITE_MICRO_TEST() 693 tflite::SymmetricQuantize(bias_values, bias_quantized, kSampleSize, in TF_LITE_MICRO_TEST()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | default_quant_params.cc | 99 std::vector<Value> bias_values; in runOnFunction() local 105 AddToWorkListIfUnquantized(arg, &bias_values); in runOnFunction() 119 AddToWorkListIfUnquantized(res, &bias_values); in runOnFunction() 134 for (Value bias : bias_values) { in runOnFunction()
|
/external/tensorflow/tensorflow/lite/testing/op_tests/ |
D | lstm.py | 77 bias_values = create_tensor_data(parameters["dtype"], [bias.shape[0]], 0, 79 sess.run(tf.group(kernel.assign(kernel_values), bias.assign(bias_values)))
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantize_model_test.cc | 655 const int32_t* bias_values = in TEST_F() local 666 auto dequantized_value = bias_values[i] * bias_scale; in TEST_F() 774 int32_t* bias_values = reinterpret_cast<int32_t*>(bias_buffer->data.data()); in TEST_P() local 776 auto dequantized_value = bias_values[i] * bias_scales[i]; in TEST_P() 780 int64_t* bias_values = reinterpret_cast<int64_t*>(bias_buffer->data.data()); in TEST_P() local 782 auto dequantized_value = bias_values[i] * bias_scales[i]; in TEST_P()
|