class_docstr: Callback to construct gif of optimized image.
      
class_docstr_tok: ["Callback","to","construct","gif","of","optimized","image","."]
code: def on_end(self):
      self.writer.close()
  
file_path: keras-vis/vis/callbacks.py
imports: from __future__ import absolute_import
  import pprint
  import numpy
  from .utils import utils
label_desc: Use image node_id 3 for calling the GifGenerator obj's underlying member method code with example usage: obj.on_end() without return types