code: def flat_dist_call(tensors, call, extra_args=None):
      buckets = split_by_type(tensors)
  
      for tp in buckets:
          bucket = buckets[tp]
          apply_flat_dist_call(bucket, call, extra_args)
  
imports: from collections import OrderedDict
  import copy
  import importlib
  from itertools import chain
  import torch
  import torch.distributed
  from torch.nn.modules import Module
  from torch.autograd import Variable
  from ..multi_tensor_apply import multi_tensor_applier
label_desc: Use image node_id 7 for calling a global function with example usage: flat_dist_call(tensors, call, extra_args) without return types