code: def resolve_bn_args(kwargs):
      bn_args = get_bn_args_tf() if kwargs.pop("bn_tf", False) else {}
      bn_momentum = kwargs.pop("bn_momentum", None)
      if bn_momentum is not None:
          bn_args["momentum"] = bn_momentum
      bn_eps = kwargs.pop("bn_eps", None)
      if bn_eps is not None:
          bn_args["eps"] = bn_eps
      return bn_args
  
imports: import re
  from copy import deepcopy
  from .conv2d_layers import *
  from geffnet.activations import *
label_desc: Use image node_id 2 for calling a global function with example usage: resolve_bn_args(kwargs) and returns: bn_args