class_docstr: Node generator
class_docstr_tok: ["Node","generator"]
docstr: m2v_node_generate
docstr_tok: ["m2v_node_generate"]
code: def m2v_node_generate(self):
      """m2v_node_generate"""
      for nodes in self.graph.node_batch_iter(
          batch_size=self.batch_size,
          n_type=self.first_node_type,
          shuffle=self.shuffle,
      ):
          yield nodes
  
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 NodeGenerator obj's underlying member method code with example usage: obj.m2v_node_generate() without return types