class_docstr: Smoothing helper
  http://acl2014.org/acl2014/W14-33/pdf/W14-3346.pdf
class_docstr_tok: ["Smoothing","helper","http",":","\/\/acl2014.org\/acl2014\/W14-33\/pdf\/W14-3346.pdf"]
code: def _smooth2(
      numerators: torch.Tensor, denominators: torch.Tensor
  ) -> Sequence[float]:
      return [
          (n.item() + 1) / (d.item() + 1)
          if i != 0
          else n.item() / d.item()
          for i, (n, d) in enumerate(zip(numerators, denominators))
      ]
  
imports: import math
  from typing import Any, Callable, Sequence, Tuple, Union
  import torch
  from ignite.exceptions import NotComputableError
  from ignite.metrics.metric import Metric, reinit__is_reduced, sync_all_reduce
  from ignite.metrics.nlp.utils import modified_precision
label_desc: Use image node_id 6 for calling the _Smoother obj's underlying member method code with example usage: obj._smooth2(numerators, denominators) and returns: unknown