class_docstr: Tests for bluefog/tensorflow/mpi_ops.py
class_docstr_tok: ["Tests","for","bluefog\/tensorflow\/mpi_ops.py"]
code: def __init__(self, *args, **kwargs):
      super(OpsTests, self).__init__(*args, **kwargs)
      warnings.simplefilter("module")
      if _has_eager:
          if hasattr(tf, "contrib") and hasattr(tf.contrib, "eager"):
              self.tfe = tf.contrib.eager
          else:
              self.tfe = tf
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  import numpy
  import os
  import tensorflow
  from bluefog.tensorflow.util import _executing_eagerly, _has_eager
  from tensorflow.python.framework import ops
  import warnings
  import bluefog.tensorflow
label_desc: Use image node_id 1 to create a new OpsTests object from inherited base classes: tf.test with example: obj = OpsTests()