• Docs >
  • Library API >
  • Function at::lstm(const at::Tensor&, const at::Tensor&, at::TensorList, at::TensorList, bool, int64_t, double, bool, bool)
  • Edit on GitHub
Shortcuts

Function at::lstm(const at::Tensor&, const at::Tensor&, at::TensorList, at::TensorList, bool, int64_t, double, bool, bool)

Function Documentation

inline ::std::tuple<at::Tensor, at::Tensor, at::Tensor> at::lstm(const at::Tensor &data, const at::Tensor &batch_sizes, at::TensorList hx, at::TensorList params, bool has_biases, int64_t num_layers, double dropout, bool train, bool bidirectional)

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources