-
Notifications
You must be signed in to change notification settings - Fork 102
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
vmap does not support Tensor.clone() #1143
Comments
JustinS6626
changed the title
vmap does not support Tensor.clone()
vmap does not support Tensor.clone()[high priority]
Apr 10, 2024
JustinS6626
changed the title
vmap does not support Tensor.clone()[high priority]
vmap does not support Tensor.clone()
Apr 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi All,
First, just a quick note, you will need pennylane installed in order to run this toy example. Here is the code that I am trying to execute:
When I run the code, I get the following error:
Is this because the
Tensor.clone()
method is simply not supported for vmap, or is there a special technique that I can use in this case to make it work properly? If it's the latter, any help would be much appreciated. In the case of the former, is there something analogous that I can do that would give me the same result?The text was updated successfully, but these errors were encountered: