class_docstr: Tests for Adasum reduction logic in horovod.torch.
class_docstr_tok: ["Tests","for","Adasum","reduction","logic","in","horovod.torch","."]
code: def are_close(self, data_type, true_vec, comp_vec):
      return (
          self.diff_ratio(true_vec, comp_vec) < np.finfo(data_type).eps
      )
  
file_path: horovod/test/parallel/test_adasum_pytorch.py
imports: import torch
  import horovod.torch
  import numpy
  from horovod.torch.mpi_ops import synchronize
  import math
  import platform
  import unittest
  import warnings
  import pytest
label_desc: Use image node_id 3 for calling the TorchAdasumTests obj's underlying member method code with example usage: obj.are_close(data_type, true_vec, comp_vec) and returns: unknown