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
↓ 1 callers
Function
time_logsumexp
()
benchmarks/python/single_ops.py:86
↓ 1 callers
Function
time_matmul
()
benchmarks/python/single_ops.py:40
↓ 1 callers
Function
time_matmul
benchmarks/cpp/single_ops.cpp:151
↓ 1 callers
Function
time_matmul
()
benchmarks/numpy/single_ops.py:13
↓ 1 callers
Function
time_matvec
benchmarks/cpp/single_ops.cpp:138
↓ 1 callers
Function
time_max
()
benchmarks/python/single_ops.py:54
↓ 1 callers
Function
time_maximum
()
benchmarks/python/single_ops.py:47
↓ 1 callers
Function
time_min
()
benchmarks/python/single_ops.py:61
↓ 1 callers
Function
time_negative
()
benchmarks/python/single_ops.py:68
↓ 1 callers
Function
time_random_generation
benchmarks/cpp/single_ops.cpp:45
↓ 1 callers
Function
time_reductions
benchmarks/cpp/single_ops.cpp:163
↓ 1 callers
Function
time_reshape_transposed
()
benchmarks/python/single_ops.py:104
↓ 1 callers
Function
time_rms_norm
()
benchmarks/python/rms_norm_bench.py:18
↓ 1 callers
Function
time_rope
()
benchmarks/python/rope_bench.py:8
↓ 1 callers
Function
time_self_attention_primitives
()
benchmarks/python/sdpa_vector_bench.py:52
↓ 1 callers
Function
time_self_attention_sdpa
()
benchmarks/python/sdpa_vector_bench.py:62
↓ 1 callers
Function
time_self_attention_sdpa_with_mask
()
benchmarks/python/sdpa_vector_bench.py:72
↓ 1 callers
Function
time_strided_ops
benchmarks/cpp/single_ops.cpp:112
↓ 1 callers
Function
time_take
()
benchmarks/python/single_ops.py:92
↓ 1 callers
Function
time_take
()
benchmarks/numpy/single_ops.py:24
↓ 1 callers
Function
time_type_conversions
benchmarks/cpp/single_ops.cpp:23
↓ 1 callers
Function
time_unary_ops
benchmarks/cpp/single_ops.cpp:55
↓ 1 callers
Function
time_unbatch_matmul
()
benchmarks/python/batch_matmul_bench.py:33
↓ 1 callers
Function
time_value_and_grad
benchmarks/cpp/autograd.cpp:10
↓ 1 callers
Function
to_fp4_e2m1
mlx/backend/cpu/quantized.cpp:1064
↓ 1 callers
Function
to_fp8_e8m0
mlx/backend/cpu/quantized.cpp:1049
↓ 1 callers
Function
torch_sync
()
benchmarks/python/masked_scatter.py:71
↓ 1 callers
Function
transpose_in_eval
mlx/backend/gpu/copy.cpp:63
↓ 1 callers
Function
tree_merge
Merge two Python trees in one containing the values of both. It can be thought of as a deep dict.update method. Args: tree_a (Any): T
python/mlx/utils.py:286
↓ 1 callers
Function
tree_replace
Replace all the arrays from the src values with the dst values in the tree
python/src/trees.cpp:219
↓ 1 callers
Function
try_load_framework
mlx/backend/metal/device.cpp:103
↓ 1 callers
Method
try_pop
mlx/3rdparty/pocketfft.h:584
↓ 1 callers
Function
unary_compile_outputs
tests/compile_tests.cpp:531
↓ 1 callers
Function
unary_complex
mlx/backend/cpu/unary.h:217
↓ 1 callers
Function
unary_fused_1
All compilable
tests/compile_tests.cpp:244
↓ 1 callers
Function
unary_int
mlx/backend/cpu/unary.h:240
↓ 1 callers
Function
unary_op_gpu_inplace
mlx/backend/metal/unary.cpp:16
↓ 1 callers
Function
unary_signed
mlx/backend/cpu/unary.h:174
↓ 1 callers
Function
uncompilable_inputs
tests/compile_tests.cpp:452
↓ 1 callers
Function
uncompilable_inputs_order_matters
tests/compile_tests.cpp:458
↓ 1 callers
Method
unfreeze
Wrap unfreeze so that we unfreeze any layers we might contain but our parameters will remain frozen.
python/mlx/nn/layers/distributed.py:425
↓ 1 callers
Method
unfreeze
Wrap unfreeze to make sure that running_mean and var are always frozen parameters.
python/mlx/nn/layers/normalization.py:305
↓ 1 callers
Function
uniform
r"""An initializer that returns samples from a uniform distribution. Args: low (float, optional): The lower bound of the uniform distribu
python/mlx/nn/init.py:68
↓ 1 callers
Function
upsample_cubic
(x: mx.array, scale_factor: Tuple, align_corners: bool = False)
python/mlx/nn/layers/upsample.py:157
↓ 1 callers
Function
upsample_linear
(x: mx.array, scale_factor: Tuple, align_corners: bool = False)
python/mlx/nn/layers/upsample.py:148
↓ 1 callers
Function
validate_qqmm_inputs
mlx/ops.cpp:4529
↓ 1 callers
Function
validate_shape
python/src/convert.cpp:275
↓ 1 callers
Function
value_and_grad
Transform the passed function ``fn`` to a function that computes the gradients of ``fn`` wrt the model's trainable parameters and also its val
python/mlx/nn/utils.py:12
↓ 1 callers
Function
var
mlx/ops.cpp:2203
↓ 1 callers
Function
vector_norm
mlx/linalg.cpp:55
↓ 1 callers
Method
vjp
The vector-Jacobian product. */
examples/extensions/axpby/axpby.cpp:278
↓ 1 callers
Function
vmap_ternary_op
mlx/primitives.cpp:60
↓ 1 callers
Function
winograd_conv_2D_gpu
mlx/backend/metal/conv.cpp:714
↓ 1 callers
Method
worker_main
mlx/3rdparty/pocketfft.h:630
↓ 1 callers
Method
world
mlx/distributed/mpi/mpi.cpp:201
↓ 1 callers
Function
write_cached_ptx
Write the |ptx| and |ptx_kernels| to |cache_dir| with |name|.
mlx/backend/cuda/jit_module.cpp:178
↓ 1 callers
Method
write_padded
mlx/backend/metal/kernels/fft/readwrite.h:345
↓ 1 callers
Function
write_signature
mlx/backend/metal/custom_kernel.cpp:25
↓ 1 callers
Method
write_strided
mlx/backend/metal/kernels/fft/readwrite.h:238
↓ 1 callers
Function
write_template
mlx/backend/metal/custom_kernel.cpp:153
Function
Abs
mlx/primitives.h:164
Method
AddMM
mlx/primitives.h:192
Method
AllGather
mlx/distributed/primitives.h:72
Method
AllReduce
mlx/distributed/primitives.h:28
Method
Arange
mlx/primitives.h:215
Function
ArcCos
mlx/primitives.h:236
Function
ArcCosh
mlx/primitives.h:250
Function
ArcSin
mlx/primitives.h:264
Function
ArcSinh
mlx/primitives.h:278
Function
ArcTan
mlx/primitives.h:292
Function
ArcTan2
mlx/primitives.h:306
Method
ArcTanh
mlx/primitives.h:320
Method
ArgPartition
mlx/primitives.h:334
Method
ArgReduce
mlx/primitives.h:361
Method
ArgSort
mlx/primitives.h:383
Method
ArrayAt
python/src/array.cpp:30
Method
ArrayDesc
mlx/array.cpp:257
Method
ArrayIterator
mlx/array.cpp:338
Method
ArrayLike
python/src/convert.h:60
Method
ArrayPythonIterator
python/src/array.cpp:76
Method
AsStrided
mlx/primitives.h:425
Method
AsType
mlx/primitives.h:404
Method
AttachedData
python/src/transforms.cpp:422
Method
Axpby
examples/extensions/axpby/axpby.h:37
Method
BitwiseBinary
mlx/primitives.h:453
Function
BitwiseInvert
mlx/primitives.h:490
Method
BlockMMA
Constructor */
mlx/backend/metal/kernels/steel/gemm/mma.h:488
Method
BlockMMA
Constructor */
mlx/backend/metal/kernels/steel/gemm/mma.h:820
Method
BlockMMA
Constructor */
mlx/backend/metal/kernels/steel/attn/mma.h:513
Method
BlockMaskedMM
mlx/primitives.h:503
Method
Broadcast
mlx/primitives.h:592
Method
BroadcastAxes
mlx/primitives.h:567
Method
BufferCache
mlx/backend/common/buffer_cache.h:15
Method
BufferHolder
mlx/backend/common/buffer_cache.h:112
Method
BytesKey
mlx/backend/cuda/lru_cache.h:154
Method
CacheEntry
mlx/compile.cpp:304
Method
CaptureContext
mlx/backend/cuda/device.cpp:71
Method
Ceil
mlx/primitives.h:616
Method
Cholesky
mlx/primitives.h:2472
Method
ColReduceArgs
mlx/backend/metal/reduce.cpp:107
← previous
next →
1,801–1,900 of 4,946, ranked by callers