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

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/paddle/nn/functional/conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ def conv1d_transpose(
None by default.

Returns:
A tensor representing the result of 1-D transpose convolution, whose
A tensor representing the result of 1-D transpose convolution, whose
data type is the same with input. And its shape is (num_batches, channels, length)
when data_format is `"NCL"` and (num_batches, length, channels) when data_format is
`"NLC"`.
Expand Down
2 changes: 1 addition & 1 deletion python/paddle/nn/functional/flash_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -2234,7 +2234,7 @@ def flashmask_attention(
assert startend_row_indices.shape[1] in [
1,
key.shape[2],
], "startend_row_indices head_num must be equal to 1(broadcast) or hean_num_k."
], "startend_row_indices head_num must be equal to 1(broadcast) or head_num_k."

if causal:
if startend_row_indices.shape[-1] == 1:
Expand Down