Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx
/ functions
Functions
4,946 in github.com/ml-explore/mlx
⨍
Functions
4,946
◇
Types & classes
770
↳
Endpoints
5
Function
step_decay
r"""Make a step decay scheduler. Args: init (float): Initial value. decay_rate (float): Multiplicative factor to decay by.
python/mlx/optimizers/schedulers.py:34
Function
step_function
(x)
benchmarks/python/comparative/bench_mlx.py:336
Function
step_function
(x)
benchmarks/python/comparative/bench_torch.py:298
Method
stop_and_wait
mlx/threadpool.h:97
Function
stop_capture
mlx/backend/metal/no_metal.cpp:17
Method
store
mlx/backend/metal/kernels/steel/gemm/nax.h:192
Method
store
mlx/backend/metal/kernels/steel/gemm/mma.h:101
Method
store
mlx/backend/metal/kernels/steel/gemm/mma.h:289
Method
store
mlx/backend/metal/kernels/steel/attn/nax.h:192
Method
store
mlx/backend/metal/kernels/steel/attn/mma.h:126
Method
store
mlx/backend/metal/kernels/steel/attn/mma.h:336
Method
store_result
Store results from simdgroup_matrix results into device memory */
mlx/backend/metal/kernels/steel/gemm/mma.h:900
Method
store_result_safe
mlx/backend/metal/kernels/steel/gemm/mma.h:950
Method
store_result_slice
mlx/backend/metal/kernels/steel/gemm/mma.h:919
Method
store_rows
mlx/backend/metal/kernels/steel/gemm/nax.h:232
Method
store_rows
mlx/backend/metal/kernels/steel/gemm/nax.h:761
Method
store_rows
mlx/backend/metal/kernels/steel/attn/nax.h:232
Method
store_safe
mlx/backend/metal/kernels/steel/gemm/nax.h:277
Method
store_safe
mlx/backend/metal/kernels/steel/gemm/mma.h:122
Method
store_safe
mlx/backend/metal/kernels/steel/gemm/mma.h:356
Method
store_safe
mlx/backend/metal/kernels/steel/attn/nax.h:277
Method
store_safe
mlx/backend/metal/kernels/steel/attn/nax.h:778
Method
store_safe
mlx/backend/metal/kernels/steel/attn/mma.h:147
Method
store_safe
mlx/backend/metal/kernels/steel/attn/mma.h:403
Method
store_slice
mlx/backend/metal/kernels/steel/gemm/nax.h:319
Method
store_slice
mlx/backend/metal/kernels/steel/gemm/mma.h:155
Method
store_slice
mlx/backend/metal/kernels/steel/gemm/mma.h:376
Method
store_slice
mlx/backend/metal/kernels/steel/attn/nax.h:319
Method
store_slice
mlx/backend/metal/kernels/steel/attn/nax.h:796
Function
strided_scan
mlx/backend/metal/kernels/scan.h:392
Function
strides
* Get the stride of the corresponding dimension. * * This function supports negative indexing and provides * bounds checking. */
mlx/array.h:138
Function
sum
mlx/backend/metal/kernels/steel/utils/integral_constant.h:118
Function
sum_and_add
(axis, x, y)
benchmarks/python/comparative/bench_mlx.py:147
Function
sum_and_add
(axis, x, y)
benchmarks/python/comparative/bench_torch.py:106
Function
sum_scatter
mlx/distributed/distributed.cpp:45
Method
sum_scatter
mlx/distributed/ring/ring.cpp:578
Method
sum_scatter
mlx/distributed/jaccl/jaccl.cpp:147
Method
sum_scatter
mlx/distributed/nccl/nccl.cpp:382
Method
supports_bool_mask
mlx/backend/no_gpu/primitives.cpp:39
Method
supports_bool_mask
mlx/backend/metal/scaled_dot_product_attention.cpp:639
Method
supports_bool_mask
mlx/backend/cuda/scaled_dot_product_attention.cpp:570
Function
svd_impl
mlx/backend/cpu/svd.cpp:189
Function
swap_endianness
mlx/backend/common/load.cpp:12
Function
swap_endianness
mlx/backend/cuda/load.cpp:13
Method
swizzle
mlx/backend/metal/kernels/steel/gemm/transforms.h:62
Method
swizzle
mlx/backend/metal/kernels/steel/attn/transforms.h:61
Function
synchronize
mlx/backend/no_gpu/eval.cpp:25
Method
t
()
python/tests/test_array.py:2229
Method
tearDown
(self)
python/tests/mlx_tests.py:75
Method
tearDownClass
(cls)
python/tests/test_load.py:37
Method
tearDownClass
(cls)
python/tests/test_export_import.py:23
Method
tell
python/src/load.cpp:133
Method
tell
python/src/load.cpp:363
Method
tell
mlx/io/load.h:77
Method
terminate
Terminate or return the exit code.
python/mlx/_distributed_utils/launch.py:42
Function
ternary_g
mlx/backend/metal/kernels/ternary.h:115
Function
ternary_g_nd1
mlx/backend/metal/kernels/ternary.h:63
Function
ternary_g_nd2
mlx/backend/metal/kernels/ternary.h:79
Function
ternary_g_nd3
mlx/backend/metal/kernels/ternary.h:97
Function
ternary_op
mlx/backend/cpu/ternary.h:124
Function
ternary_op_dims
mlx/backend/cpu/ternary.h:12
Function
ternary_op_dispatch_dims
mlx/backend/cpu/ternary.h:55
Function
ternary_v
mlx/backend/metal/kernels/ternary.h:9
Function
ternary_v2
mlx/backend/metal/kernels/ternary.h:38
Method
test_abs
(self)
python/tests/test_ops.py:839
Method
test_active_memory_count
(self)
python/tests/test_memory.py:61
Method
test_adadelta
(self)
python/tests/test_optimizers.py:148
Method
test_adafactor
(self)
python/tests/test_optimizers.py:269
Method
test_adagrad
(self)
python/tests/test_optimizers.py:130
Method
test_adam
(self)
python/tests/test_optimizers.py:173
Method
test_adamw_matches_pytorch
(self)
python/tests/test_optimizers.py:207
Method
test_add
(self)
python/tests/test_ops.py:181
Method
test_add_numpy
(self)
python/tests/test_array.py:1994
Method
test_addmm
(self)
python/tests/test_blas.py:602
Method
test_addmm_grad
(self)
python/tests/test_blas.py:733
Method
test_alibi
(self)
python/tests/test_nn.py:1134
Method
test_all
(self)
python/tests/test_ops.py:1110
Method
test_all_gather
(self)
python/tests/mlx_distributed_tests.py:309
Method
test_all_gather_extra
(self)
python/tests/mpi_test_distributed.py:73
Method
test_all_gather_extra
(self)
python/tests/ring_test_distributed.py:67
Method
test_all_gather_split
(self)
python/tests/nccl_test_distributed.py:109
Method
test_all_gather_vjp
(self)
python/tests/ring_test_distributed.py:119
Method
test_all_reduce
(self)
python/tests/mlx_distributed_tests.py:53
Method
test_all_reduce_extra
(self)
python/tests/mpi_test_distributed.py:31
Method
test_all_reduce_extra
(self)
python/tests/ring_test_distributed.py:27
Method
test_all_reduce_split
(self)
python/tests/nccl_test_distributed.py:68
Method
test_allclose
(self)
python/tests/test_ops.py:1083
Method
test_any
(self)
python/tests/test_ops.py:1121
Method
test_api
(self)
python/tests/test_array.py:1620
Method
test_arange_corner_cases_cast
(self)
python/tests/test_ops.py:1418
Method
test_arange_inferred_dtype
(self)
python/tests/test_ops.py:1390
Method
test_arange_overload_dispatch
(self)
python/tests/test_ops.py:1350
Method
test_arg_reduce
(self)
python/tests/test_reduce.py:86
Function
test_arg_reduce_small_bool
tests/arg_reduce_tests.cpp:125
Method
test_arg_reduction_ops
(self)
python/tests/test_bf16.py:144
Method
test_argmin_argmax
(self)
python/tests/test_ops.py:696
Method
test_argpartition
(self)
python/tests/test_ops.py:2349
Method
test_argsort_nan
(self)
python/tests/test_ops.py:3340
Method
test_array_at
(self)
python/tests/test_array.py:1394
Method
test_array_at_slice_update_extensive
(self)
python/tests/test_array.py:1472
← previous
next →
4,001–4,100 of 4,946, ranked by callers