Skip to content

Commit 756b3a4

Browse files
committed
fix paddle assgin weights
1 parent b3099ac commit 756b3a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorlayerx/files/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2704,7 +2704,7 @@ def construct(self, x):
27042704

27052705

27062706
def assign_pd_variable(variable, value):
2707-
pd.assign(value, variable)
2707+
variable.set_value(value)
27082708

27092709

27102710
def assign_th_variable(variable, value):

0 commit comments

Comments
 (0)