class_docstr: Meta class defining interface for graph partitioning algorithms.
class_docstr_tok: ["Meta","class","defining","interface","for","graph","partitioning","algorithms","."]
docstr: Generates partitions.
  
  Yields
  ------
  next_partition : GraphDataLoader
       Next partition as a GraphDataLoader object.
docstr_tok: ["Generates","partitions",".","Yields","--","--","--","next_partition",":","GraphDataLoader","Next","partition","as","a","GraphDataLoader","object","."]
code: def partitions_generator(self):
      """Generates partitions.
  
      Yields
      ------
      next_partition : GraphDataLoader
           Next partition as a GraphDataLoader object.
      """
      for partition in self.partitions:
          partition.reload()
          yield partition
  
imports: import logging
  import os
  import shelve
  import tempfile
  from abc import ABC
  from datetime import datetime
  import numpy
  from ampligraph.utils.profiling import timing_and_memory
  from .graph_data_loader import GraphDataLoader
label_desc: Use image node_id 5 for calling the AbstractGraphPartitioner obj's underlying member method code with example usage: obj.partitions_generator() without return types