Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/api/paddle/masked_fill_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ masked_fill

.. py:function:: paddle.masked_fill(x, mask, value, name=None)


.. note::
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

别名不是在这里写

该 API 同时支持 ``input`` 作为 ``x`` 的别名关键字参数,与 PyTorch 用法兼容。

返回一个 1-D 的 Tensor,Tensor 的值是根据 ``mask`` 信息,将 ``value`` 中的值填充到 ``x`` 中 ``mask`` 对应为 ``True`` 的位置,``mask`` 的数据类型是 bool。

Expand Down

This file was deleted.