code: def _BroadcastComputedParamsSingleHost(
      devices, model, use_nccl=False
  ):
      """
      Average computed params over all devices
      """
      if len(devices) == 1:
          return
  
      for param_name in model._computed_param_names:
          # Copy from master to others -- averaging would be perhaps better,
          # but currently NCCLAllReduce is too prone to deadlock
          _Broadcast(devices, model, model.net, param_name, use_nccl)
  
imports: from collections import OrderedDict
  import logging
  import copy
  from multiprocessing import cpu_count
  from caffe2.python import model_helper, dyndep, scope, workspace, core, memonger, utils
  from caffe2.proto import caffe2_pb2
  import numpy
  import warnings
label_desc: Use image node_id 36 for calling a global function with example usage: _BroadcastComputedParamsSingleHost(devices, model, use_nccl) without return types