From 00462f115aa95f52755ffaa539eb866ce8773ace Mon Sep 17 00:00:00 2001 From: Yating Jing Date: Thu, 5 Oct 2023 01:49:27 +0000 Subject: [PATCH] fix typos --- tensorboard/plugins/hparams/backend_context.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tensorboard/plugins/hparams/backend_context.py b/tensorboard/plugins/hparams/backend_context.py index fbb1c4fcce..5d8bd7cebb 100644 --- a/tensorboard/plugins/hparams/backend_context.py +++ b/tensorboard/plugins/hparams/backend_context.py @@ -39,7 +39,7 @@ class Context: API handlers for the HParams plugin backend. Before adding fields to this class, carefully consider whether the - field truelly needs to be accessible to all API handlers or if it + field truly needs to be accessible to all API handlers or if it can be passed separately to the handler constructor. We want to avoid this class becoming a magic container of variables that have no better place. See http://wiki.c2.com/?MagicContainer @@ -221,7 +221,7 @@ def session_groups_from_data_provider( def _find_experiment_tag( self, hparams_run_to_tag_to_content, include_metrics ): - """Finds the experiment associcated with the metadata.EXPERIMENT_TAG + """Finds the experiment associated with the metadata.EXPERIMENT_TAG tag. Returns: @@ -369,7 +369,7 @@ def _experiment_from_data_provider_hparams( experiment_id: String, from `plugin_util.experiment_id`. include_metrics: Whether to determine metrics_infos and include them in the result. - data_provider_hparams: The ouput from an hparams_from_data_provider() + data_provider_hparams: The output from an hparams_from_data_provider() call, corresponding to DataProvider.list_hyperparameters(). A provider.ListHyperparametersResult.