As per tensorflow documentation , model.fit_generator method is now DEPRECATED and model.fit now supports generators, so there is no longer any need to use this endpoint.
But it is giving me this error :
logits and labels must be broadcastable: logits_size=[32,3] labels_size=[32,4]