Skip to content

Commit db487e6

Browse files
committed
format
1 parent 266c4e3 commit db487e6

File tree

6 files changed

+1
-5
lines changed

6 files changed

+1
-5
lines changed

mlx/backend/common/erf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright © 2023 Apple Inc.
22

3-
43
namespace mlx::core {
54

65
/* Approximation to the inverse error function.

mlx/backend/no_metal/allocator.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright © 2023 Apple Inc.
22

3-
43
#include "mlx/allocator.h"
54

65
namespace mlx::core::allocator {

mlx/backend/no_metal/primitives.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright © 2023 Apple Inc.
22

3-
43
#include "mlx/primitives.h"
54

65
#define NO_GPU(func) \

mlx/transforms_impl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright © 2023 Apple Inc.
22

3-
43
namespace mlx::core::detail {
54

65
std::pair<std::vector<array>, std::vector<array>> vmap_trace(

python/mlx/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright © 2023 Apple Inc.
22

3+
34
def tree_map(fn, tree, *rest):
45
"""Applies ``fn`` to the leaves of the python tree ``tree`` and
56
returns a new collection with the results.

tests/utils_tests.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright © 2023 Apple Inc.
22

3-
43
#include "doctest/doctest.h"
54

65
#include "mlx/mlx.h"

0 commit comments

Comments
 (0)