code: def __init__(self, reducers, default_reducer=None, **kwargs):
      super().__init__(**kwargs)
      self.reducers = torch.nn.ModuleDict(reducers)
      self.default_reducer = (
          MeanReducer() if default_reducer is None else default_reducer
      )
  
imports: import torch
  from .base_reducer import BaseReducer
  from .mean_reducer import MeanReducer
label_desc: Use image node_id 1 to create a new MultipleReducers object from inherited base classes: BaseReducer with example: obj = MultipleReducers(reducers, default_reducer)