This commit is contained in:
ZhuBaohe
2020-06-15 03:36:14 +08:00
committed by GitHub
parent 9208f57b16
commit 9931f817b7
34 changed files with 36 additions and 38 deletions

View File

@@ -284,7 +284,7 @@ CTRL_INPUTS_DOCSTRING = r"""
use_cache (:obj:`bool`):
If `use_cache` is True, `past` key value states are returned and
can be used to speed up decoding (see `past`). Defaults to `True`.
output_attentions (:obj:`bool`, `optional`, defaults to `:obj:`None`):
output_attentions (:obj:`bool`, `optional`, defaults to :obj:`None`):
If set to ``True``, the attentions tensors of all attention layers are returned. See ``attentions`` under returned tensors for more detail.
"""