Fit function to work with adaptive step size
Hi **@Danojungo** ,
- Sorry for the dealy, Could you use a custom training loop instead of the generic fit function. This approach provides more flexibility, allowing you to adjust the number of steps dynamically for each epoch.
- The generic fit function in tensorflow does not support varying the number of steps per epoch directly.

Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/67252">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/67252">No</a>

Hi,
Is there a way to make the generic fit function work but have different steps in each epoch?
I'm using tf.dataset.sample_from_datasets and I don't get the same amount of steps each epoch, I don't want to use repeat and I do want to run over all my positive samples without setting the steps_per_epoch.