[deleted] When we use @dr.wrap_ad decorator, how to use this with a method that has a drjit/torch input and other inputs of python primitives? #777
Answered
by
Mephisto405
Mephisto405
asked this question in
Q&A
-
When we use @dr.wrap_ad decorator, how to use this with a method that has a drjit/torch input and other inputs of python primitives? For example, such method would be: @dr.warp_ad(...)
def method(drjit_tensor, n_samples=10, some_boolean=False):
pass |
Beta Was this translation helpful? Give feedback.
Answered by
Mephisto405
Jun 16, 2023
Replies: 1 comment
-
Sorry, this works natively. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Mephisto405
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry, this works natively.