code: def random_walk(nodes, edge_types, p=1.0, q=1.0, default_node=-1):
      """
      Random walk from a list of nodes.
  
      Args:
      nodes: start node ids, 1-d Tensor
      edge_types: list of 1-d Tensor of edge types
      p: back probality
      q: forward probality
      default_node: default fill nodes
      """
  
      edge_types = [
          type_ops.get_edge_type_id(edge_type)
          for edge_type in edge_types
      ]
      return _random_walk(nodes, edge_types, p, q, default_node)
  
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: random_walk(nodes, edge_types, p, q, default_node) and returns: _random_walk