class_docstr: Abstract class for generators.
class_docstr_tok: ["Abstract","class","for","generators","."]
docstr: When used as a context manager, closes the TF session.
docstr_tok: ["When","used","as","a","context","manager",",","closes","the","TF","session","."]
code: def __exit__(self, *args):
      """When used as a context manager, closes the TF session."""
      self.close()
  
imports: import abc
  import os
  import tempfile
  from note_seq.protobuf import generator_pb2
  import tensorflow.compat.v1
label_desc: Use image node_id 8 for calling the BaseSequenceGenerator obj's underlying member method code with example usage: obj.__exit__() without return types