class_docstr: Abstract class for models.
  
  Implements default session checkpoint restore methods.
docstr: Builds the model graph for generation.
  
  Will be called before restoring a checkpoint file.
docstr_tok: ["Builds","the","model","graph","for","generation",".","Will","be","called","before","restoring","a","checkpoint","file","."]
code: def _build_graph_for_generation(self):
      """Builds the model graph for generation.
  
      Will be called before restoring a checkpoint file.
      """
      pass
  
file_path: magenta/magenta/models/shared/model.py
imports: import abc
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the BaseModel obj's underlying member method code with example usage: obj._build_graph_for_generation() without return types