From 538f52343ac62d84d60e4579a64e7c5dd12a271d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 1 Jan 2024 22:44:25 -0500 Subject: [PATCH] spelling: respect Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- mlx/transforms.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mlx/transforms.h b/mlx/transforms.h index ff47638bf..caf648163 100644 --- a/mlx/transforms.h +++ b/mlx/transforms.h @@ -80,7 +80,7 @@ ValueAndGradFn value_and_grad( /** * 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( const std::function(const std::vector&)>& fun, @@ -132,7 +132,7 @@ std::function(const std::vector&)> inline grad( /** * 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 * array. The optional `argnum` index specifies which the argument to compute