class_docstr: Neighbor Ops Test. Test get neighbors ops for nodes
class_docstr_tok: ["Neighbor","Ops","Test",".","Test","get","neighbors","ops","for","nodes"]
docstr: Test sample neighbor layerwise
docstr_tok: ["Test","sample","neighbor","layerwise"]
code: def testSampleNeighborLayerwise(self):
      """Test sample neighbor layerwise"""
  
      op = ops.sample_neighbor_layerwise(
          [[1, 2, 3], [1, 2, 3], [2, 3, 4], [2, 2, 4]], ["0", "1"], 10
      )
      with tf.Session() as sess:
          for i in range(10):
              ids, _ = sess.run(op)
              self.assertEqual(10, len(ids[0]))
              [self.assertTrue(n1 in [2, 3, 4, 5]) for n1 in ids[0]]
              [self.assertTrue(n2 in [3, 4, 5]) for n2 in ids[2]]
              [self.assertTrue(n3 in [3, 5]) for n3 in ids[3]]
  
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
  from tf_euler.python.euler_ops import base
  from tf_euler.python.euler_ops import neighbor_ops
label_desc: Use image node_id 9 for calling the NeighborOpsTest obj's underlying member method code with example usage: obj.testSampleNeighborLayerwise() without return types