Auto grad configuration
Now you don't need to specify needs_grad
when registering a field via .register_*_field()
, as long as you use Taichi > 0.7.26. If you use a legacy version of Taichi, you must still specify needs_grad
yourself, though.
Now you don't need to specify needs_grad
when registering a field via .register_*_field()
, as long as you use Taichi > 0.7.26. If you use a legacy version of Taichi, you must still specify needs_grad
yourself, though.