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

@@ -464,7 +464,7 @@ CTRL_INPUTS_DOCSTRING = r"""
training (:obj:`boolean`, `optional`, defaults to :obj:`False`):
Whether to activate dropout modules (if set to :obj:`True`) during training or to de-activate them
(if set to :obj:`False`) for evaluation.
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.
"""