未验证 提交 40a6936e 编写于 作者: S suleshahid 提交者: GitHub

Increase tolerance for fft_test (#2139)

Our Cortex-m55 build is failing for fft_test.cc due to strict tolerance in irfft tests. Increasing tolerance slightly similar to what we did for rfft.

Can test locally with
```make -f tensorflow/lite/micro/tools/make/Makefile -j24 test_kernel_signal_fft_test TARGET=cortex_m_corstone_300 TARGET_ARCH=cortex-m55```

BUG=[287518815](http://b/287518815)
上级 55037d2d
......@@ -428,7 +428,7 @@ TF_LITE_MICRO_TEST(IrfftTestLength512Float) {
input_shape, tflite::kIrfftFloatLength512Input,
output_shape, tflite::kIrfftFloatLength512Golden,
*registration, g_gen_data_fft_length_512_float,
g_gen_data_size_fft_length_512_float, output, 1e-7));
g_gen_data_size_fft_length_512_float, output, 1e-6));
}
TF_LITE_MICRO_TEST(IrfftTestLength512Int16) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册