GradientΒΆ
Compute the numerical gradient of a sampled function.
Abstract Signature:
Gradient(f: Tensor, varargs: Tensor, axis: int | Sequence[int] | None)
Compute the numerical gradient of a sampled function.
Abstract Signature:
Gradient(f: Tensor, varargs: Tensor, axis: int | Sequence[int] | None)