code: def sparse_get_adj(nodes, nb_nodes, edge_types, n=-1, m=-1):
      edge_types = type_ops.get_edge_type_id(edge_types)
      res = base._LIB_OP.sparse_get_adj(
          nodes, nb_nodes, edge_types, n, m
      )
      return tf.SparseTensor(*res[:3])
  
file_path: euler/tf_euler/python/euler_ops/neighbor_ops.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from tf_euler.python.euler_ops import base
  from tf_euler.python.euler_ops import type_ops
label_desc: Use image node_id 1 for calling a global function with example usage: sparse_get_adj(nodes, nb_nodes, edge_types, n, m) and returns: tf