code: def sample_edge(count, edge_type=None):
      """
      Sample Edges by specific types
  
      Args:
      count: A scalar tensor specify sample count
      types: A scalar tensor specify sample type
  
      Return:
      A 2-d tensor of sample edge ids
      """
      if edge_type == "-1":
          types = -1
      else:
          types = type_ops.get_edge_type_id(edge_type)
      return base._LIB_OP.sample_edge(count, types)
  
file_path: euler/tf_euler/python/euler_ops/sample_ops.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import ctypes
  import os
  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 3 for calling a global function with example usage: sample_edge(count, edge_type) and returns: base