(self)
return self.mode == "train"
Returns true if the model is built for training mode.
Returns true if the model is built for training mode.
Returns true if the model is built for training mode .
def is_training(self):
    """Returns true if the model is built for training mode."""
    return self.mode == "train"
def is_training ( self ) : return self . mode == "train"