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
Hello everyone,
I'm trying to implement LSTM network after quantization by TensorFlow Lite to FPGA. But I don't know how to get LSTMCell accum_shift and LSTMCell accum_multiplier. Can anyone help me? Thank you.
The LstmCell method is only used with the legacy LSTM kernel operator, which TFLM does not support. TFLM supports the UNIDIRECTIONAL_SEQUENCE_LSTM operator, which does not use the LstmCell method. The legacy LSTM operator is still supported in the TensorFlow repository. Any additional questions regarding LSTM should be posted as an issue in that repository.
The accum_shift and accum_multiplier are computed using tflite::QuantizeMultiplier and the code for these values can be found here.
Hello everyone,
I'm trying to implement LSTM network after quantization by TensorFlow Lite to FPGA. But I don't know how to get LSTMCell accum_shift and LSTMCell accum_multiplier. Can anyone help me? Thank you.
3 lines below can be found in https://github.com/tensorflow/tflite-micro/blob/main/tensorflow/lite/kernels/internal/reference/lstm_cell.h_
The text was updated successfully, but these errors were encountered: