Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cleanup][B-2] clean some paddle.base.dygraph.to_variable for test #61904

Merged
merged 11 commits into from
Feb 23, 2024
Prev Previous commit
Next Next commit
🎨 Fixed error
  • Loading branch information
PommesPeter committed Feb 21, 2024
commit f18c215bbae8fe1d91139a8c99c38a3fe9d1a607
2 changes: 1 addition & 1 deletion test/dygraph_to_static/test_basic_api_transformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


def dyfunc_to_variable(x):
res = paddle.to_tensor(x, name=None, zero_copy=None)
res = paddle.to_tensor(x)
PommesPeter marked this conversation as resolved.
Show resolved Hide resolved
return res


Expand Down