class_docstr: Sample Ops Test.
  
  Test sample ops for euler graph
class_docstr_tok: ["Sample","Ops","Test",".","Test","sample","ops","for","euler","graph"]
docstr: Test euler graph sample edge
docstr_tok: ["Test","euler","graph","sample","edge"]
code: def testSampleEdge(self):
      """Test euler graph sample edge"""
  
      op = ops.sample_edge(10, "1")
      with tf.Session() as sess:
          edges = sess.run(op)
          self.assertEqual(10, len(edges))
          [self.assertTrue(e[1] in [1, 3, 5]) for e in edges]
  
file_path: euler/tf_euler/python/euler_ops/sample_ops_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import subprocess
  from tensorflow.python.platform import test
  import tensorflow
  import numpy
  from tf_euler.python.euler_ops import base
  from tf_euler.python.euler_ops import sample_ops
label_desc: Use image node_id 4 for calling the SampleOpsTest obj's underlying member method code with example usage: obj.testSampleEdge() without return types