API symbolsnnlatest (dev)latest (dev)2026-09-08v1.0.02026-09-06CopyCopy as MarkdownCopy page linkView MarkdownOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.nn.functional.rnn_tanh_cell tensorplay.nn.functional.rnn_tanh_cell(input, hx, w_ih, w_hh, b_ih=None, b_hh=None) → Tensor[source] One time step of an Elman RNN cell with tanh nonlinearity. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.nn.functional.rnn_relu_cellOne time step of an Elman RNN cell with ReLU nonlinearity.tensorplay.nn.functional.rreluRandomized leaky ReLU.