/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | quantization_util_test.cc | 207 TF_LITE_MICRO_EXPECT_NEAR(qp.scale, 0.156863, 1e-5); in TF_LITE_MICRO_TEST() 215 TF_LITE_MICRO_EXPECT_NEAR(qp.scale, 0.117647, 1e-5); in TF_LITE_MICRO_TEST() 223 TF_LITE_MICRO_EXPECT_NEAR(qp.scale, 0.0, 1e-5); in TF_LITE_MICRO_TEST() 231 TF_LITE_MICRO_EXPECT_NEAR(qp.scale, 0.039216, 1e-5); in TF_LITE_MICRO_TEST() 242 TF_LITE_MICRO_EXPECT_NEAR(0x40000000, result, 1ll); in TF_LITE_MICRO_TEST() 246 TF_LITE_MICRO_EXPECT_NEAR(0x40000000, result, 1ll); in TF_LITE_MICRO_TEST() 250 TF_LITE_MICRO_EXPECT_NEAR(-(1 << 30), result, 1ll); in TF_LITE_MICRO_TEST() 254 TF_LITE_MICRO_EXPECT_NEAR(2071147315, result, 1ll); in TF_LITE_MICRO_TEST() 258 TF_LITE_MICRO_EXPECT_NEAR(0, result, 1); in TF_LITE_MICRO_TEST() 262 TF_LITE_MICRO_EXPECT_NEAR(std::numeric_limits<int64_t>::max(), result, 1); in TF_LITE_MICRO_TEST() [all …]
|
D | split_test.cc | 73 TF_LITE_MICRO_EXPECT_NEAR(expected_output1_data[i], output1_data[i], 1e-5f); in TestSplitTwoOutputsFloat() 77 TF_LITE_MICRO_EXPECT_NEAR(expected_output2_data[i], output2_data[i], 1e-5f); in TestSplitTwoOutputsFloat() 142 TF_LITE_MICRO_EXPECT_NEAR(expected_output1_data[i], output1_data[i], 1e-5f); in TestSplitFourOutputsFloat() 145 TF_LITE_MICRO_EXPECT_NEAR(expected_output2_data[i], output2_data[i], 1e-5f); in TestSplitFourOutputsFloat() 148 TF_LITE_MICRO_EXPECT_NEAR(expected_output3_data[i], output3_data[i], 1e-5f); in TestSplitFourOutputsFloat() 151 TF_LITE_MICRO_EXPECT_NEAR(expected_output4_data[i], output4_data[i], 1e-5f); in TestSplitFourOutputsFloat()
|
D | unpack_test.cc | 81 TF_LITE_MICRO_EXPECT_NEAR(expected_output1_data[i], output1_data[i], 1e-5f); in TestUnpackThreeOutputsFloat() 85 TF_LITE_MICRO_EXPECT_NEAR(expected_output2_data[i], output2_data[i], 1e-5f); in TestUnpackThreeOutputsFloat() 89 TF_LITE_MICRO_EXPECT_NEAR(expected_output3_data[i], output3_data[i], 1e-5f); in TestUnpackThreeOutputsFloat() 132 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestUnpackOneOutputFloat()
|
D | tanh_test.cc | 97 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], in TestTanhFloat() 140 TF_LITE_MICRO_EXPECT_NEAR(expected_output_quantized[i], output_quantized[i], in TestTanhQuantized()
|
D | detection_postprocess_test.cc | 200 TF_LITE_MICRO_EXPECT_NEAR(golden1[i], output_data1[i], tolerance); in TestDetectionPostprocess() 203 TF_LITE_MICRO_EXPECT_NEAR(golden2[i], output_data2[i], tolerance); in TestDetectionPostprocess() 206 TF_LITE_MICRO_EXPECT_NEAR(golden3[i], output_data3[i], tolerance); in TestDetectionPostprocess() 209 TF_LITE_MICRO_EXPECT_NEAR(golden4[i], output_data4[i], tolerance); in TestDetectionPostprocess()
|
D | round_test.cc | 53 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestRound()
|
D | ceil_test.cc | 54 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestCeil()
|
D | exp_test.cc | 54 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestExp()
|
D | floor_test.cc | 54 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestFloor()
|
D | dequantize_test.cc | 45 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 0.001f); in ValidateDequantizeGoldens()
|
D | activations_test.cc | 56 TF_LITE_MICRO_EXPECT_NEAR(golden[i], output_data[i], 1e-5f); in TestReluFloat() 89 TF_LITE_MICRO_EXPECT_NEAR(golden[i], output_data[i], 1e-5f); in TestRelu6Float()
|
D | hard_swish_test.cc | 120 TF_LITE_MICRO_EXPECT_NEAR(float_ref_output_values[i], dequantized_output[i], in TestHardSwishQuantized() 248 TF_LITE_MICRO_EXPECT_NEAR(float_ref_output_values[i], output_data[i], in TestHardSwishFloat()
|
D | concatenation_test.cc | 66 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestConcatenateTwoInputs()
|
D | prelu_test.cc | 44 TF_LITE_MICRO_EXPECT_NEAR(golden[i], output_data[i], 1e-5f); in ValidatePreluGoldens()
|
D | logistic_test.cc | 67 TF_LITE_MICRO_EXPECT_NEAR(golden[i], output_data[i], tolerance); in ValidateLogisticGoldens()
|
D | elementwise_test.cc | 59 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestElementwiseFloat()
|
D | maximum_minimum_test.cc | 59 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestMaxMinFloat()
|
D | pack_test.cc | 44 TF_LITE_MICRO_EXPECT_NEAR(golden[i], output[i], tolerance); in ValidatePackGoldens()
|
D | conv_test_common.cc | 54 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], in ValidateConvGoldens()
|
D | mul_test.cc | 66 TF_LITE_MICRO_EXPECT_NEAR(golden[i], output[i], tolerance); in ValidateMulGoldens()
|
/external/tensorflow/tensorflow/lite/micro/testing/ |
D | util_test.cc | 23 TF_LITE_MICRO_EXPECT_NEAR(0, count++, 0.1f); in TF_LITE_MICRO_TEST() 24 TF_LITE_MICRO_EXPECT_NEAR(1, count++, 0.1f); in TF_LITE_MICRO_TEST() 25 TF_LITE_MICRO_EXPECT_NEAR(count++, 2, 0.1f); in TF_LITE_MICRO_TEST() 26 TF_LITE_MICRO_EXPECT_NEAR(count++, 3, 0.1f); in TF_LITE_MICRO_TEST()
|
D | micro_test.h | 162 #define TF_LITE_MICRO_EXPECT_NEAR(x, y, epsilon) \ macro
|
/external/tensorflow/tensorflow/lite/micro/examples/hello_world/ |
D | hello_world_test.cc | 106 TF_LITE_MICRO_EXPECT_NEAR(y_true, y_pred, epsilon); in TF_LITE_MICRO_TEST() 114 TF_LITE_MICRO_EXPECT_NEAR(y_true, y_pred, epsilon); in TF_LITE_MICRO_TEST() 121 TF_LITE_MICRO_EXPECT_NEAR(y_true, y_pred, epsilon); in TF_LITE_MICRO_TEST() 128 TF_LITE_MICRO_EXPECT_NEAR(y_true, y_pred, epsilon); in TF_LITE_MICRO_TEST()
|
/external/tensorflow/tensorflow/lite/g3doc/microcontrollers/ |
D | get_started.md | 309 TF_LITE_MICRO_EXPECT_NEAR(0., value, 0.05); 322 TF_LITE_MICRO_EXPECT_NEAR(0.841, value, 0.05); 327 TF_LITE_MICRO_EXPECT_NEAR(0.141, value, 0.05); 332 TF_LITE_MICRO_EXPECT_NEAR(-0.959, value, 0.05);
|
/external/tensorflow/tensorflow/lite/micro/ |
D | memory_arena_threshold_test.cc | 109 TF_LITE_MICRO_EXPECT_NEAR(actual, expected, in EnsureAllocatedSizeThreshold()
|