mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 12:06:42 +08:00
spelling: coefficients
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
d81a841ae8
commit
35c5530ea1
@ -15,7 +15,7 @@ Introducing the Example
|
|||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
Let's say that you would like an operation that takes in two arrays,
|
Let's say that you would like an operation that takes in two arrays,
|
||||||
``x`` and ``y``, scales them both by some coefficents ``alpha`` and ``beta``
|
``x`` and ``y``, scales them both by some coefficients ``alpha`` and ``beta``
|
||||||
respectively, and then adds them together to get the result
|
respectively, and then adds them together to get the result
|
||||||
``z = alpha * x + beta * y``. Well, you can very easily do that by just
|
``z = alpha * x + beta * y``. Well, you can very easily do that by just
|
||||||
writing out a function as follows:
|
writing out a function as follows:
|
||||||
|
Loading…
Reference in New Issue
Block a user