class_docstr: DropBlock. See https://arxiv.org/pdf/1810.12890.pdf
      
code: def __init__(
      self,
      drop_prob=0.1,
      block_size=7,
      gamma_scale=1.0,
      with_noise=False,
      inplace=False,
      batchwise=False,
      fast=True,
  ):
      super().__init__()
      self.drop_prob = drop_prob
      self.gamma_scale = gamma_scale
      self.block_size = block_size
      self.with_noise = with_noise
      self.inplace = inplace
      self.batchwise = batchwise
      self.fast = fast
  
file_path: towhee/towhee/models/layers/dropblock2d.py
imports: import torch
  from torch import nn
  import torch.nn.functional
label_desc: Use image node_id 1 to create a new DropBlock2d object from inherited base classes: nn with example: obj = DropBlock2d(drop_prob, block_size, gamma_scale, with_noise, inplace, batchwise, fast)