How to realize realtime classification for bidirectional lstm?

layers = [
sequenceInputLayer(64, Minlength=4)
bilstmLayer(20)
bilstmLayer(10)
fullyConnectedLayer(2)
softmaxLayer
classificationLayer(2)]
I have trained a model using `layers`, everything work fine while doing forward inferencing using `classify`, when change to `classifyAndUpdateState` got wrong classification result.
My question is how to do real time frame by frame classification for bidirectional lstm? More specifically convert to C code using codegen.

回答 (0 件)

この質問は閉じられています。

製品

リリース

R2023a

質問済み:

2023 年 10 月 11 日

閉鎖済み:

2023 年 11 月 23 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by