From 99bd8d12e17cc67e66a136ec70dd8994c123cff8 Mon Sep 17 00:00:00 2001 From: Sergii Dymchenko Date: Tue, 20 Dec 2022 02:01:33 +0000 Subject: [PATCH] Fix non-existing parameters in docstrings in misc places (#91121) This should be the last continuation of https://github.com/pytorch/pytorch/pull/90505 Pull Request resolved: https://github.com/pytorch/pytorch/pull/91121 Approved by: https://github.com/clee2000 --- functorch/examples/maml_omniglot/support/omniglot_loaders.py | 2 +- torch/utils/tensorboard/_caffe2_graph.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/functorch/examples/maml_omniglot/support/omniglot_loaders.py b/functorch/examples/maml_omniglot/support/omniglot_loaders.py index 88eaff97df32..24d47dcf9980 100644 --- a/functorch/examples/maml_omniglot/support/omniglot_loaders.py +++ b/functorch/examples/maml_omniglot/support/omniglot_loaders.py @@ -143,7 +143,7 @@ class OmniglotNShot: :param batchsz: task num :param n_way: :param k_shot: - :param k_qry: + :param k_query: :param imgsz: """ diff --git a/torch/utils/tensorboard/_caffe2_graph.py b/torch/utils/tensorboard/_caffe2_graph.py index 6e7a686292ec..b8ecb164eb61 100644 --- a/torch/utils/tensorboard/_caffe2_graph.py +++ b/torch/utils/tensorboard/_caffe2_graph.py @@ -157,7 +157,7 @@ def _remap_keys(old_dict, rename_fn): Args: old_dict: Dictionary (i.e. containing blob_name -> blob_name relationships.) - remap_fn: Function string -> string for renaming. + rename_fn: Function string -> string for renaming. Returns: None. Modifies old_dict in-place.