class_docstr: This class tests all autograd-related functionality.
code: def setUp(self):
      # we do not want main process (rank -1) initializing the communicator:
      if self.rank >= 0:
          crypten.init()
  
imports: import logging
  import random
  import unittest
  import crypten
  import crypten.gradients
  import torch
  from crypten.common.tensor_types import is_float_tensor
  from crypten.config import cfg
  from crypten.gradients import AutogradContext, AutogradFunction
  from test.multiprocess_test_case import get_random_test_tensor, MultiProcessTestCase
label_desc: Use image node_id 1 for calling the TestAutograd obj's underlying member method code with example usage: obj.setUp() without return types