Caffe2 - Python API
A deep learning, cross platform ML framework
Packages
Classes
Files
C++ API
Python API
GitHub
File List
test
onnx
model_defs
lstm_flattening_result.py
1
from
torch
import
nn
2
3
4
class
LstmFlatteningResult
(nn.LSTM):
5
def
forward(self, input, *fargs, **fkwargs):
6
output, (hidden, cell) = nn.LSTM.forward(self, input, *fargs, **fkwargs)
7
return
output, hidden, cell
model_defs.lstm_flattening_result.LstmFlatteningResult
Definition:
lstm_flattening_result.py:4
Generated on Thu Mar 21 2019 13:06:36 for Caffe2 - Python API by
1.8.11