Searched refs:kTolerance (Results 1 – 8 of 8) sorted by relevance
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/ |
D | elu_test.cc | 84 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()
|
D | log_softmax_test.cc | 138 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()
|
D | depth_to_space_test.cc | 69 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()
|
D | cumsum_test.cc | 74 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()
|
D | add_n_test.cc | 115 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()
|
D | l2_pool_2d_test.cc | 27 constexpr float kTolerance = 1e-5; variable 38 float compare_tolerance = kTolerance;
|
D | leaky_relu_test.cc | 101 const float kTolerance = params.tolerance; in TestLeakyReluQuantized() local 103 TF_LITE_MICRO_EXPECT_NEAR(expected_data[i], output_data[i], kTolerance); in TestLeakyReluQuantized()
|
D | hard_swish_test.cc | 75 const float kTolerance = in TestHardSwishQuantized() local 120 kTolerance); in TestHardSwishQuantized()
|