class_docstr: Spatial dropout module.
  
  Apply dropout to full channels on tensors of input (B, C, D)
class_docstr_tok: ["Spatial","dropout","module",".","Apply","dropout","to","full","channels","on","tensors","of","input","(","B",",","C",",","D",")"]
docstr: Forward of spatial dropout module.
docstr_tok: ["Forward","of","spatial","dropout","module","."]
code: def forward(self, x: torch.Tensor) -> torch.Tensor:
      """Forward of spatial dropout module."""
      y = x.permute(*self.shape)
      y = self.dropout(y)
      return y.permute(*self.shape)
  
file_path: espnet/espnet2/asr/preencoder/sinc.py
imports: from collections import OrderedDict
  from typing import Optional, Tuple, Union
  import humanfriendly
  import torch
  from typeguard import check_argument_types
  from espnet2.asr.preencoder.abs_preencoder import AbsPreEncoder
  from espnet2.layers.sinc_conv import LogCompression, SincConv
label_desc: Use image node_id 2 for calling the SpatialDropout obj's underlying member method code with example usage: obj.forward(x) and returns: y