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
Expected behavior : if I call org.nd4j.autodiff.samediff.SameDiff#var(java.lang.String, org.nd4j.linalg.api.ndarray.INDArray) inside different name scopes, it should work.
Actual behavior : if I call org.nd4j.autodiff.samediff.SameDiff#var(java.lang.String, org.nd4j.linalg.api.ndarray.INDArray) inside different name scopes, it fails with java.lang.IllegalArgumentException: Another variable with the name "..." already exists..
Version Information
Deeplearning4j version - SNAPSHOT-1.0.0
Platform information - Windows 11
CUDA version - N/A
NVIDIA driver version - N/A
Additional Information
Seems like the method which fails does not re-use the logic in org.nd4j.autodiff.samediff.SameDiff#var(java.lang.String, org.nd4j.autodiff.samediff.VariableType, org.nd4j.weightinit.WeightInitScheme, org.nd4j.linalg.api.buffer.DataType, long...) which takes into account the name scopes.
The text was updated successfully, but these errors were encountered:
Issue Description
org.nd4j.autodiff.samediff.SameDiff#var(java.lang.String, org.nd4j.linalg.api.ndarray.INDArray
) inside different name scopes, it should work.org.nd4j.autodiff.samediff.SameDiff#var(java.lang.String, org.nd4j.linalg.api.ndarray.INDArray)
inside different name scopes, it fails withjava.lang.IllegalArgumentException: Another variable with the name "..." already exists.
.Version Information
SNAPSHOT-1.0.0
Additional Information
Seems like the method which fails does not re-use the logic in
org.nd4j.autodiff.samediff.SameDiff#var(java.lang.String, org.nd4j.autodiff.samediff.VariableType, org.nd4j.weightinit.WeightInitScheme, org.nd4j.linalg.api.buffer.DataType, long...)
which takes into account the name scopes.The text was updated successfully, but these errors were encountered: