class_docstr: Walk generator
class_docstr_tok: ["Walk","generator"]
docstr: Metapath2vec walker
docstr_tok: ["Metapath2vec","walker"]
code: def m2v_walk(self):
      """Metapath2vec walker"""
      for nodes in self.node_generator():
          walks = metapath_randomwalk(
              self.graph,
              nodes,
              self.config.meta_path,
              self.config.walk_len,
          )
  
          yield walks
  
imports: from __future__ import division
  from __future__ import absolute_import
  from __future__ import print_function
  import time
  import io
  import os
  import numpy
  import random
  from pgl.utils.logger import log
  from pgl.sample import metapath_randomwalk
  from pgl.graph_kernel import skip_gram_gen_pair
  from pgl.graph_kernel import alias_sample_build_table
  from utils import load_config
  from graph import m2vGraph
  import mp_reader
label_desc: Use image node_id 3 for calling the WalkGenerator obj's underlying member method code with example usage: obj.m2v_walk() without return types