TFLite Log operator

55 views
Skip to first unread message

momo114

unread,
Sep 14, 2021, 11:46:29 AM9/14/21
to TensorFlow Lite

Hi all,

Hope things are going well on your side!

I have a question regarding the tfl.log operator (

It throws 'nan' value. Even though, I add an offset epsilon 1e-7 to the input (to ensure that non zero value goes in), it throws 'nan' value for the first value of the output (the rest of the output vector is good). It's always the first value of the output vector which is set to 'nan'.

I'm using tf 2.4.1.

Has someone faced this bottleneck ?
Any advice / good practices before using log operation in tflite ?

Thanks,
Moussa
Reply all
Reply to author
Forward
0 new messages