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 get top k neighbor for nodes
docstr_tok: ["Test","get","top","k","neighbor","for","nodes"]
code: def testGetTopKNeighborWithCondition(self):
      """Test get top k neighbor for nodes"""
  
      op = ops.get_top_k_neighbor(
          [1, 2], ["0", "1"], 2, condition="price gt 4"
      )
      with tf.Session() as sess:
          ids, weights, types = sess.run(op)
          self.assertAllEqual([[4, -1], [5, -1]], ids)
          self.assertAllClose([[4.0, 0.0], [5.0, 0.0]], weights)
          self.assertAllEqual([[0, -1], [1, -1]], types)
  
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 7 for calling the NeighborOpsTest obj's underlying member method code with example usage: obj.testGetTopKNeighborWithCondition() without return types