class_docstr: Base class for all model averagers.
  
  Args:
      process_group: The process group to be used for all-reduce.
                     If ``None``, the default process group, which
                     is created by :func:`torch.distributed.init_process_group`,
                     will be used. (default: ``None``)
class_docstr_tok: ["Base","class","for","all","model","averagers",".","Args",":","process_group",":","The","process","group","to","be","used","for","all-reduce",".","If","``","None","``",",","the","default","process","group",",","which","is","created","by",":","func",":","`","torch.distributed.init_process_group","`",",","will","be","used",".","(","default",":","``","None","``",")"]
code: def average_parameters(self, params):
      raise NotImplementedError
  
file_path: pytorch/torch/distributed/algorithms/model_averaging/averagers.py
imports: import warnings
  from abc import ABC, abstractmethod
  from typing import Union, Iterable, Dict
  import torch
  import torch.distributed
  import torch.distributed.algorithms.model_averaging.utils
label_desc: Use image node_id 2 for calling the ModelAverager obj's underlying member method code with example usage: obj.average_parameters(params) without return types