Skip to content

Commit

Permalink
Increase tolerance for fft_test (#2139)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
suleshahid authored Jul 20, 2023
1 parent 55037d2 commit 40a6936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signal/micro/kernels/fft_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 40a6936

Please sign in to comment.