Home
last modified time | relevance | path

Searched refs:kTolerance (Results 1 – 8 of 8) sorted by relevance

/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/
Delu_test.cc84 constexpr float kTolerance = 1e-5; in TestElu() local
86 TF_LITE_MICRO_EXPECT_NEAR(expected_data[i], output_data[i], kTolerance); in TestElu()
112 const float kTolerance = params.tolerance; in TestEluQuantized() local
114 TF_LITE_MICRO_EXPECT_NEAR(expected_data[i], output_data[i], kTolerance); in TestEluQuantized()
Dlog_softmax_test.cc138 constexpr float kTolerance = 1e-5; in TF_LITE_MICRO_TEST() local
140 tflite::testing::TestLogSoftmax(kTolerance, kDims1, kInput, kDims1, kExpect1, in TF_LITE_MICRO_TEST()
150 tflite::testing::TestLogSoftmax(kTolerance, kDims2, kInput, kDims2, kExpect2, in TF_LITE_MICRO_TEST()
167 constexpr float kTolerance = 1e-6; in TF_LITE_MICRO_TEST() local
169 tflite::testing::TestLogSoftmax(kTolerance, kDims, kInput, kDims, kExpect, in TF_LITE_MICRO_TEST()
Ddepth_to_space_test.cc69 constexpr float kTolerance = 1e-5; in TestDepthToSpace() local
71 TF_LITE_MICRO_EXPECT_NEAR(expected_data[i], output_data[i], kTolerance); in TestDepthToSpace()
125 const float kTolerance = in TestDepthToSpaceQuantized() local
128 TF_LITE_MICRO_EXPECT_NEAR(expected_data[i], output_data[i], kTolerance); in TestDepthToSpaceQuantized()
Dcumsum_test.cc74 constexpr float kTolerance = 1e-5; in TestCumSum() local
76 TF_LITE_MICRO_EXPECT_NEAR(expected_data[i], output_data[i], kTolerance); in TestCumSum()
127 const float kTolerance = GetTolerance<T>(params->data_min, params->data_max); in TestCumSumQuantized() local
129 TF_LITE_MICRO_EXPECT_NEAR(expected_data[i], output_data[i], kTolerance); in TestCumSumQuantized()
Dadd_n_test.cc115 const float kTolerance = GetTolerance<T>(params->data_min, params->data_max); in TestAddNQuantized() local
117 TF_LITE_MICRO_EXPECT_NEAR(expected_data[i], output_data[i], kTolerance); in TestAddNQuantized()
Dl2_pool_2d_test.cc27 constexpr float kTolerance = 1e-5; variable
38 float compare_tolerance = kTolerance;
Dleaky_relu_test.cc101 const float kTolerance = params.tolerance; in TestLeakyReluQuantized() local
103 TF_LITE_MICRO_EXPECT_NEAR(expected_data[i], output_data[i], kTolerance); in TestLeakyReluQuantized()
Dhard_swish_test.cc75 const float kTolerance = in TestHardSwishQuantized() local
120 kTolerance); in TestHardSwishQuantized()