def on_step_end(self, step, logs={}):
self.total_steps += <NUM_LIT:1><EOL>if self.total_steps % self.interval != <NUM_LIT:0>:<EOL><INDENT>return<EOL><DEDENT>filepath = self.filepath.format(step=self.total_steps, **logs)<EOL>if self.verbose > <NUM_LIT:0>:<EOL><INDENT>print('<STR_LIT>'.format(self.total_steps, filepath))<EOL><DEDENT>self.model.save_weights(filepath, overwrite=True)<EOL>
Save weights at interval steps during training