code: def get_arg_scope():
      """
      Returns:
          dict: the current argscope.
  
      An argscope is a dict of dict: ``dict[layername] = {arg: val}``
      """
      if len(_ArgScopeStack) > 0:
          return _ArgScopeStack[-1]
      else:
          return defaultdict(dict)
  
file_path: tensorpack/tensorpack/tfutils/argscope.py
imports: import copy
  from collections import defaultdict
  from contextlib import contextmanager
  from functools import wraps
  from inspect import getmembers, isfunction
  import tensorflow
  from ..compat import is_tfv2
  from ..utils import logger
  from .model_utils import get_shape_str
  from .tower import get_current_tower_context
label_desc: Use image node_id 2 for calling a global function with example usage: get_arg_scope() and returns: _ArgScopeStack, defaultdict