from tensorflow.contrib.eager.python.examples.revnet import blocks_test

    self.assertEqual(len(g2_all.shape), 1)

    degree = blocks_test.compute_degree(g1_all, g2_all)
    self.assertLessEqual(degree, 1e0)
