I don't understand Keras function "fit"


When I was building a DataGenerator and trying to fit it into a model, it didn’t work. So I’ve taken a look into the Keras function ‘fit’ directly. But I don’t understand what this down below code is meaning especially backslash sign. May I ask what this code is for and how that works?

with self.distribute_strategy.scope(), \
      # Creates a `tf.data.Dataset` and handles batch and epoch iteration.


as far as I know, the "\" is just there for the linebreak

Answered By – Seitanist

Answer Checked By – Clifford M. (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.