Closed shuheng-liu closed 3 years ago
Support usage like
grad_x, grad_y = diff(u, [x, y])
so that gradient of two variables can be computed in one pass.
Solved with 156e201. The newly implemented tool works like this:
from neurodiffeq.operators import grad grad_x, grad_y, grad_z = grad(u, x, y, z)
Support usage like
so that gradient of two variables can be computed in one pass.