tf.test.assert_equal_graph_def(actual, expected) Asserts that two GraphDefs are (mostly) the same.
tf.test.is_built_with_cuda() Returns whether TensorFlow was built with CUDA (GPU) support.
tf.test.main() Runs all unit tests.
tf.test.compute_gradient(x, x_shape, y, y_shape, x_init_value=None, delta=0.001, init_targets=None) Computes and returns the theoretical
tf.test.compute_gradient_error(x, x_shape, y, y_shape, x_init_value=None, delta=0.001, init_targets=None) Computes the gradient
tf.test.get_temp_dir() Returns a temporary directory for use during tests. There is no need to