Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def on_epoch_end(self, epoch, logs={}):
super(TensorBoardSat).on_train_begin(self, logs=logs)
if epoch % 1 == 0:
self.writer.add_summary("Saturation", 1)