code: def get_reduction_func(self, reduction_type):
      return getattr(self, "{}_reduction".format(reduction_type))
  
imports: import torch
  from ..utils import common_functions
  from ..utils.module_with_records import ModuleWithRecords
label_desc: Use image node_id 10 for calling the BaseReducer obj's underlying member method code with example usage: obj.get_reduction_func(reduction_type) and returns: getattr