code: def assert_sizes(self, losses, loss_indices, reduction_type):
      getattr(self, "assert_sizes_{}".format(reduction_type))(
          losses, loss_indices
      )
  
imports: import torch
  from ..utils import common_functions
  from ..utils.module_with_records import ModuleWithRecords
label_desc: Use image node_id 11 for calling the BaseReducer obj's underlying member method code with example usage: obj.assert_sizes(losses, loss_indices, reduction_type) without return types