You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing STFT to Magnitude layers and comparing them against the TFlite versions and get failures for the same set of arguments. Am I doing something incorrectly here or is this expected for some reason?
> np.testing.assert_allclose(training_melgram, edge_serving_melgram)
E AssertionError:
E Not equal to tolerance rtol=1e-07, atol=0
E
E Mismatched elements: 21480 / 21525 (99.8%)
E Max absolute difference: 0.00228808
E Max relative difference: 2939.9194
E x: array([[[[5.120000e+02],
E [4.345991e+02],
E [2.560000e+02],...
E y: array([[[[5.120000e+02],
E [4.345991e+02],
E [2.560000e+02],...
The text was updated successfully, but these errors were encountered:
That used a DC signal above. If I use a more realistic signal, the difference is significantly reduced. I'm not sure if there's anything to be added to attempt to close the gap.
I'm testing STFT to Magnitude layers and comparing them against the TFlite versions and get failures for the same set of arguments. Am I doing something incorrectly here or is this expected for some reason?
The text was updated successfully, but these errors were encountered: