class_docstr: Generate random syntactically-valid Python ASTs.
docstr: Generate a list of statements of random length.
  
  Args:
    low: Fewest number of statements to generate.
    high: Highest number of statements to generate.
    generator: Function to call to generate nodes.
  
  Returns:
    A list of statements.
code: def sample_node_list(self, low, high, generator):
      """Generate a list of statements of random length.
  
      Args:
        low: Fewest number of statements to generate.
        high: Highest number of statements to generate.
        generator: Function to call to generate nodes.
  
      Returns:
        A list of statements.
      """
      statements = []
      for _ in range(np.random.randint(low, high)):
          statements.append(generator())
      return statements
  
imports: import random
  import string
  import gast
  import numpy
  from nvidia.dali._autograph.pyct import gast_util
  from nvidia.dali._autograph.pyct import templates
label_desc: Use image node_id 3 for calling the CodeGenerator obj's underlying member method code with example usage: obj.sample_node_list(low, high, generator) and returns: statements