We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b1b2f commit 595f386Copy full SHA for 595f386
paddle_samples/PaddleNLP/mbart-large-cc25/model.py
@@ -526,7 +526,7 @@ def forward(
526
data_1,
527
):
528
# pd_op.assign: (1x22xi64) <- (1x22xi64)
529
- assign_0 = data_0
+ assign_0 = paddle._C_ops.assign(data_0)
530
531
# pd_op.flatten: (22xi64) <- (1x22xi64)
532
flatten_0 = paddle._C_ops.flatten(assign_0, 0, 1)
paddle_samples/PaddleNLP/mbart-large-en-ro/model.py
0 commit comments