Skip to content

Commit dfd9ca1

Browse files
author
Googler
committed
Internal change.
PiperOrigin-RevId: 497230324
1 parent b7ed95f commit dfd9ca1

File tree

1 file changed

+2
-1
lines changed
  • src/python/tensorflow_cloud/tuner

1 file changed

+2
-1
lines changed

src/python/tensorflow_cloud/tuner/tuner.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ def update_trial(self,
328328
keras_tuner_trial.status = trial_module.TrialStatus.STOPPED
329329
return keras_tuner_trial.status
330330

331-
def end_trial(self, trial_id: Text, status: Text = "COMPLETED"):
331+
def end_trial(self, trial_id: Text, status: Text = "COMPLETED",
332+
message=None):
332333
"""Record the measured objective for a set of parameter values."""
333334
keras_tuner_trial = None
334335
for tuner_id, ongoing_trial in self.ongoing_trials.items():

0 commit comments

Comments
 (0)