code: def _average_probs(self, probs_list):
      probs_list = torch.stack(probs_list)
      return torch.log(torch.exp(probs_list).mean(0))
  
imports: from contextlib import contextmanager
  import torch
  from nemo.collections.common.parts import NEG_INF, mask_padded_tokens
label_desc: Use image node_id 7 for calling the EnsembleBeamSearchSequenceGenerator obj's underlying member method code with example usage: obj._average_probs(probs_list) and returns: torch