class_docstr: Drop paths (Stochastic Depth) per sample
  (when applied in main path of residual blocks).
class_docstr_tok: ["Drop","paths","(","Stochastic","Depth",")","per","sample","(","when","applied","in","main","path","of","residual","blocks",")","."]
code: def __init__(self, drop_prob=0.0):
      super(DropPath, self).__init__()
      self.drop_prob = drop_prob
  
file_path: NeMo/nemo/collections/vision/modules/common/megatron/vision_transformer.py
imports: import torch
  from nemo.collections.nlp.modules.common.megatron.layer_type import LayerType
  from nemo.collections.nlp.modules.common.megatron.module import MegatronModule
  from nemo.collections.nlp.modules.common.megatron.transformer import ParallelTransformer, ParallelTransformerLayer_
  from nemo.collections.nlp.modules.common.megatron.utils import ApexGuardDefaults
label_desc: Use image node_id 1 to create a new DropPath object from inherited base classes: MegatronModule with example: obj = DropPath(drop_prob)