I’m working on building a time-distributed CNN.  Originally, my code is implemented with Keras, and now I wanna porting my code to pytorch.  Could someone give me some example of how to implement a CNNs + LSTM structure in pytorch?
The network structure will be like:
time1: image --cnn--|
time2: image --cnn--|---> (timestamp, flatted cnn output) --> LSTM --> (1, output unit)
time3: image --cnn--|

I also found some related code, but fail to construct with that code:
Timedistributed 242

My original Keras implementation 188