mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 20:46:46 +08:00
spelling: respect
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
e254286d95
commit
538f52343a
@ -80,7 +80,7 @@ ValueAndGradFn value_and_grad(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a function which computes the value and gradient of the input
|
* Returns a function which computes the value and gradient of the input
|
||||||
* function with repsect to a single input array.
|
* function with respect to a single input array.
|
||||||
**/
|
**/
|
||||||
ValueAndGradFn inline value_and_grad(
|
ValueAndGradFn inline value_and_grad(
|
||||||
const std::function<std::vector<array>(const std::vector<array>&)>& fun,
|
const std::function<std::vector<array>(const std::vector<array>&)>& fun,
|
||||||
@ -132,7 +132,7 @@ std::function<std::vector<array>(const std::vector<array>&)> inline grad(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a function which computes the gradient of the input function with
|
* Returns a function which computes the gradient of the input function with
|
||||||
* repsect to a single input array.
|
* respect to a single input array.
|
||||||
*
|
*
|
||||||
* The function being differentiated takes a vector of arrays and returns an
|
* The function being differentiated takes a vector of arrays and returns an
|
||||||
* array. The optional `argnum` index specifies which the argument to compute
|
* array. The optional `argnum` index specifies which the argument to compute
|
||||||
|
Loading…
Reference in New Issue
Block a user