MLX
 
Loading...
Searching...
No Matches
unary.h
Go to the documentation of this file.
1// Copyright © 2024 Apple Inc.
2
3#pragma once
4
5#include "mlx/array.h"
6
7namespace mlx::core {
8
10 const std::vector<array>& inputs,
11 array& out,
12 const std::string op,
13 const Stream& s);
14
16 const std::vector<array>& inputs,
17 array& out,
18 const std::string op,
19 const Stream& s);
20
21} // namespace mlx::core
Definition array.h:24
Definition allocator.h:7
void unary_op_gpu_inplace(const std::vector< array > &inputs, array &out, const std::string op, const Stream &s)
void unary_op_gpu(const std::vector< array > &inputs, array &out, const std::string op, const Stream &s)
Definition stream.h:9