Template Function at::symint::_cudnn_rnn_backward(const at::Tensor&, at::TensorList, int64_t, const at::Tensor&, const at::Tensor&, const ::std::optional<at::Tensor>&, const at::Tensor&, const ::std::optional<at::Tensor>&, const ::std::optional<at::Tensor>&, const ::std::optional<at::Tensor>&, int64_t, c10::SymInt, c10::SymInt, int64_t, bool, double, bool, bool, c10::SymIntArrayRef, const ::std::optional<at::Tensor>&, const at::Tensor&, ::std::array<bool, 4>)¶
Defined in File Functions.h
Function Documentation¶
-
template<typename T, typename = std::enable_if_t<std::is_same_v<T, c10::SymInt>>>
::std::tuple<at::Tensor, at::Tensor, at::Tensor, ::std::vector<at::Tensor>> at::symint::_cudnn_rnn_backward(const at::Tensor &input, at::TensorList weight, int64_t weight_stride0, const at::Tensor &weight_buf, const at::Tensor &hx, const ::std::optional<at::Tensor> &cx, const at::Tensor &output, const ::std::optional<at::Tensor> &grad_output, const ::std::optional<at::Tensor> &grad_hy, const ::std::optional<at::Tensor> &grad_cy, int64_t mode, c10::SymInt hidden_size, c10::SymInt proj_size, int64_t num_layers, bool batch_first, double dropout, bool train, bool bidirectional, c10::SymIntArrayRef batch_sizes, const ::std::optional<at::Tensor> &dropout_state, const at::Tensor &reserve, ::std::array<bool, 4> output_mask)¶