get_save_filename#

composer.utils.get_save_filename(state, filename='ep{epoch}-ba{batch}-rank{rank}')[source]#

Gets full filename of save filename.

Parameters
  • state (State) โ€“ The State to load the checkpoint into.

  • filename (filename) โ€“ The name of the save file.

Returns

Full filename of save file.