Blog145.2K views2,521 votes0 replies2,149 following
Customizing Keras Training with Model Subclassing
Learn how to subclass tf.keras.Model to override train_step, allowing for custom training logic while retaining the benefits of the Keras compile and fit API.