class_docstr: Dropout with probability `p` that is consistent on the seq_len dimension.
class_docstr_tok: ["Dropout","with","probability","`","p","`","that","is","consistent","on","the","seq_len","dimension","."]
code: def forward(self, x):
      if not self.training or self.p == 0.0:
          return x
      return x * dropout_mask(
          x.data, (x.size(0), 1, *x.shape[2:]), self.p
      )
  
imports: from __future__ import annotations
  from ...data.all import *
  from ..core import *
label_desc: Use image node_id 2 for calling the RNNDropout obj's underlying member method code with example usage: obj.forward(x) and returns: unknown, x