code: def update_dropout(m):
      classname = m.__class__.__name__
      if classname.find("Dropout") != -1:
          if hasattr(m, "p"):
              m.p = args.dropout
  
file_path: smart-moe/examples/transformer-xl/train.py
imports: import argparse
  import time
  import math
  import os, sys
  import itertools
  import numpy
  import torch
  import torch.nn
  import torch.optim
  from data_utils import get_lm_corpus
  from mem_transformer import MemTransformerLM
  from utils.exp_utils import create_exp_dir
  from utils.data_parallel import BalancedDataParallel
label_desc: Use image node_id 4 for calling a global function with example usage: update_dropout(m) without return types