Difftorch

Latest version: v1.2.2

Safety actively analyzes 613568 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.2.2

Support non-contiguous tensors

1.2.1

Improved `generic_jacobianv` and `generic_jacobianTv` to support functions with non-vector tensor inputs and non-vector tensor outputs

1.2.0

* Added operations that return the function's value in addition to the derivative. These are prefixed with `f`.
- `fgrad`
- `fgradv`
- `fjacobianTv`
- `fjacobianv`
- `fjacobian`
- `fhessian`
- `fhessianv`
- `flaplacian`
- `fdiv`
- `fcurl`
- `fdiff`
- `generic_fjacobianv`
- `generic_fjacobianTv`

* Added shorthands for the following operations:
- `g`: `grad`
- `gvp`: `gradv`
- `vjp` : `jacobianTv`
- `jvp`: `jacobianv`
- `j`: `jacobian`
- `h`: `hessian`
- `hvp`: `hessianv`
- `fg`: `fgrad`
- `fgvp`: `fgradv`
- `fvjp`: `fjacobianTv`
- `fjvp`: `fjacobianv`
- `fj`: `fjacobian`
- `fh`: `fhessian`
- `fhvp`: `fhessianv`

1.1.0

Added `generic_jacobianv`, `generic_jacobianTv` operations

1.0.0

Initial release

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.