mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 11:38:06 +08:00
spelling: unnecessary
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
072f7e0b8c
commit
59b779b745
@ -39,7 +39,7 @@ class Axpby : public Primitive {
|
|||||||
* A primitive must know how to evaluate itself on the CPU/GPU
|
* A primitive must know how to evaluate itself on the CPU/GPU
|
||||||
* for the given inputs and populate the output array.
|
* for the given inputs and populate the output array.
|
||||||
*
|
*
|
||||||
* To avoid unecessary allocations, the evaluation function
|
* To avoid unnecessary allocations, the evaluation function
|
||||||
* is responsible for allocating space for the array.
|
* is responsible for allocating space for the array.
|
||||||
*/
|
*/
|
||||||
void eval_cpu(const std::vector<array>& inputs, array& out) override;
|
void eval_cpu(const std::vector<array>& inputs, array& out) override;
|
||||||
|
@ -49,7 +49,7 @@ class Primitive {
|
|||||||
* A primitive must know how to evaluate itself on
|
* A primitive must know how to evaluate itself on
|
||||||
* the CPU/GPU for the given inputs and populate the output array.
|
* the CPU/GPU for the given inputs and populate the output array.
|
||||||
*
|
*
|
||||||
* To avoid unecessary allocations, the evaluation function
|
* To avoid unnecessary allocations, the evaluation function
|
||||||
* is responsible for allocating space for the array.
|
* is responsible for allocating space for the array.
|
||||||
*/
|
*/
|
||||||
virtual void eval_cpu(const std::vector<array>& inputs, array& out) = 0;
|
virtual void eval_cpu(const std::vector<array>& inputs, array& out) = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user