You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
MxNet allow me to reuse a name of a symbol without returning an error, it eventually leads to a cyclic graph in the visualization.
It should prevent the user to be able to reuse the same name unless the user want specifically to reuse the same variable (with an argument), instead of advising them to not reuse the same name (#2036)
Environment info (Required)
on Intel Core i7-5820K
with pip install mxnet
Error Message:
There is no error message, and that's the problem.
Hi @Caenorst
I think this is not a bug, users may want to create two variables with same name and use in different graphs as mentioned in your reference issue. We should allow to use same name
This your case, the output seems correct, if modify your code to not use the same name: c=mx.sym.log(b,'x')
it will print the same output as your code snippet.
The only difference is the cycle in graph visualization, which dictates user has used repeated name. I added this PR to prevent confusion
Description
MxNet allow me to reuse a name of a symbol without returning an error, it eventually leads to a cyclic graph in the visualization.
It should prevent the user to be able to reuse the same name unless the user want specifically to reuse the same variable (with an argument), instead of advising them to not reuse the same name (#2036)
Environment info (Required)
on Intel Core i7-5820K
with
pip install mxnet
Error Message:
There is no error message, and that's the problem.
Minimum reproducible example
return a cyclic graph (u => v => u) and:
Which shows that
u
is BOTH the input variable and thelog
function.The text was updated successfully, but these errors were encountered: