Hi , I can’t understand about the args of aten::lstm function
How to match the args of aten::lstm and torch.nn.LSTM()
Thanks.
ps:I am not found the api doucment about aten::lstm.
Hi , I can’t understand about the args of aten::lstm function
How to match the args of aten::lstm and torch.nn.LSTM()
Thanks.
ps:I am not found the api doucment about aten::lstm.
You can specify the options via LSTMOptions
and create an LSTM layer via e.g.:
auto lstm_opt = LSTMOptions(1, 1).num_layers(1).batch_first(false).bidirectional(false);
LSTM lstm{lstm_opt);
oh, awsome, thanks very much