Basic Lstm Cell import from pb file
See original GitHub issueHere are below the ops generated by a basic_lstm_cell when exported to a protobuf file.
We will have to implement the following ops if we want to be able to import this cell from a pb file:
- ConcatV2
- split
- BiasAdd
- Enter
Name: rnn/multi_rnn_cell/cell_0/basic_lstm_cell/kernel ops: Const
Name: rnn/multi_rnn_cell/cell_0/basic_lstm_cell/bias ops: Const
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Const ops: Const
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/concat/axis ops: Const
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/concat ops: ConcatV2
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/MatMul ops: MatMul
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/MatMul/Enter ops: Enter
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/BiasAdd ops: BiasAdd
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/BiasAdd/Enter ops: Enter
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/split ops: Split
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Const_2 ops: Const
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Add ops: Add
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Sigmoid ops: Sigmoid
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Mul ops: Mul
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Sigmoid_1 ops: Sigmoid
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Tanh ops: Tanh
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Mul_1 ops: Mul
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Add_1 ops: Add
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Tanh_1 ops: Tanh
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Sigmoid_2 ops: Sigmoid
Name: rnn/while/rnn/multi_rnn_cell/cell_0/basic_lstm_cell/Mul_2 ops: Mul
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Unable to convert LSTM model to .tflite model #15805 - GitHub
The Issue. When trying to convert an LSTM from a frozen graph (. pb) file to (. tflite) using the tensorflow toco script,...
Read more >Recurrent Neural Networks (RNN) with Keras | TensorFlow Core
Introduction · Setup · Built-in RNN layers: a simple example · Outputs and states · RNN layers and RNN cells · Cross-batch statefulness....
Read more >How to retain LSTM hidden states when streaming data ...
I have trained a LSTM model in keras and now want it to deploy it through C++. I converted the .hdf5 model file...
Read more >Sequence Classification with LSTM Recurrent Neural ...
from tensorflow.keras.datasets import imdb ... You can see that this simple LSTM with little tuning achieves near state-of-the-art results ...
Read more >MATLAB importTensorFlowNetwork - MathWorks
This MATLAB function imports a pretrained TensorFlow network from the ... importTensorFlowNetwork imports the layers defined in the saved_model.pb file and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mortendahl, yes definitely. Let’s close this issue. We can open a new one when we decide to tackle LSTM. Thanks
Gotcha, thanks @yanndupis. Does it make sense to close this issue?