Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx-data
/ functions
Functions
662 in github.com/ml-explore/mlx-data
⨍
Functions
662
◇
Types & classes
165
↓ 96 callers
Method
size
mlx/data/core/BatchShape.cpp:14
↓ 91 callers
Method
shape
mlx/data/Array.cpp:53
↓ 75 callers
Method
data
mlx/data/Array.cpp:37
↓ 66 callers
Method
size
mlx/data/buffer/Perm.cpp:21
↓ 35 callers
Method
size
mlx/data/Array.cpp:57
↓ 33 callers
Method
find
mlx/data/core/Graph.cpp:188
↓ 26 callers
Method
ndim
mlx/data/Array.cpp:49
↓ 26 callers
Method
type
mlx/data/Array.cpp:41
↓ 22 callers
Method
append
mlx/data/Buffer.cpp:101
↓ 22 callers
Function
check_key
mlx/data/Sample.cpp:18
↓ 21 callers
Method
insert
mlx/data/core/Trie.h:63
↓ 17 callers
Method
itemsize
mlx/data/Array.cpp:65
↓ 15 callers
Method
clear
mlx/data/core/BatchShape.cpp:72
↓ 15 callers
Method
get
mlx/data/buffer/Perm.cpp:14
↓ 14 callers
Function
check_av_error
mlx/data/core/video/VideoFFMPEG.cpp:54
↓ 14 callers
Function
height
Return the height of the image. Requires that `verifyImage()` be called previously.
mlx/data/core/image/Image.h:41
↓ 14 callers
Function
width
Return the width of the image. Requires that `verifyImage()` be called previously.
mlx/data/core/image/Image.h:35
↓ 13 callers
Function
sum
mlx/data/core/Levenshtein.cpp:12
↓ 13 callers
Function
to_array
python/src/wrap.cpp:27
↓ 12 callers
Function
slice
mlx/data/Array.cpp:301
↓ 11 callers
Function
to_py_array
python/src/wrap.cpp:183
↓ 10 callers
Method
batch
mlx/data/Buffer.cpp:29
↓ 10 callers
Function
channels
Return the channel count of the image. Requires that `verifyImage()` be called previously.
mlx/data/core/image/Image.h:47
↓ 10 callers
Method
checkdim
mlx/data/Array.cpp:200
↓ 10 callers
Method
enqueue
mlx/data/core/ThreadPool.h:91
↓ 10 callers
Method
get
mlx/data/Buffer.cpp:22
↓ 10 callers
Method
squeeze
mlx/data/Array.cpp:136
↓ 10 callers
Method
to_stream
mlx/data/Buffer.cpp:120
↓ 10 callers
Function
to_vector
python/src/wrap_dataset.h:21
↓ 9 callers
Function
get_state
mlx/data/core/State.cpp:16
↓ 9 callers
Method
log_run
(self, run_name, fn, *args, **kwargs)
benchmarks/comparative/caltech101/utils.py:13
↓ 9 callers
Method
log_run
(self, run_name, fn, *args, **kwargs)
benchmarks/comparative/librispeech/utils.py:13
↓ 8 callers
Function
copy
mlx/data/Array.cpp:324
↓ 8 callers
Method
dynamic_batch
mlx/data/Buffer.cpp:45
↓ 7 callers
Function
ensure_exists
(directory)
python/mlx/data/datasets/common.py:73
↓ 7 callers
Function
file_digest
(filepath, _hash, buffer_size=16 * 1024 * 1024, quiet=False)
python/mlx/data/datasets/common.py:84
↓ 7 callers
Method
load_image
mlx/data/Dataset.cpp:413
↓ 7 callers
Method
log_run
(self, run_name, fn, *args, **kwargs)
benchmarks/comparative/wikitext/utils.py:13
↓ 7 callers
Method
num_sample
mlx/data/core/BatchShape.cpp:68
↓ 7 callers
Method
prefetch
mlx/data/Stream.cpp:115
↓ 7 callers
Method
read_from_tar
mlx/data/Dataset.cpp:651
↓ 7 callers
Method
search
mlx/data/core/Trie.h:86
↓ 7 callers
Method
shuffle
mlx/data/Buffer.cpp:109
↓ 7 callers
Method
size
mlx/data/buffer/Batch.cpp:67
↓ 6 callers
Function
check_stream
mlx/data/core/TARReader.cpp:36
↓ 6 callers
Function
info
mlx/data/core/audio/Audio.cpp:20
↓ 6 callers
Function
load
mlx/data/core/audio/Audio.cpp:10
↓ 6 callers
Function
random_sample
(idx)
python/tests/test_dynamic_batch.py:13
↓ 6 callers
Method
replace
mlx/data/Dataset.cpp:729
↓ 6 callers
Method
reshape
mlx/data/Array.cpp:167
↓ 6 callers
Method
root
mlx/data/core/Trie.h:102
↓ 6 callers
Method
sample_transform
mlx/data/Dataset.cpp:285
↓ 6 callers
Function
sf_check_error
mlx/data/core/audio/AudioSndfile.cpp:86
↓ 6 callers
Method
slice
mlx/data/Dataset.cpp:939
↓ 6 callers
Function
urlretrieve_with_progress
(src, dst, quiet=False)
python/mlx/data/datasets/common.py:77
↓ 5 callers
Method
add
mlx/data/core/BPETokenizer.cpp:13
↓ 5 callers
Function
check_stream
mlx/data/core/Numpy.cpp:10
↓ 5 callers
Function
crop
mlx/data/core/image/ImageTransform.cpp:64
↓ 5 callers
Method
erase
mlx/data/core/FileFetcher.cpp:134
↓ 5 callers
Method
format_size
(size, suffix="B")
python/mlx/data/datasets/common.py:65
↓ 5 callers
Function
frames
Return the number of frames in the audio. Requires that `verifyAudio()` be called previously.
mlx/data/core/audio/Audio.h:34
↓ 5 callers
Method
inode
mlx/data/core/Graph.cpp:95
↓ 5 callers
Method
key_transform
mlx/data/Dataset.cpp:262
↓ 5 callers
Method
load_audio
mlx/data/Dataset.cpp:302
↓ 5 callers
Function
sub
mlx/data/Array.cpp:544
↓ 5 callers
Function
verify_dimensions
mlx/data/core/image/ImageTransform.cpp:23
↓ 4 callers
Method
accepts
mlx/data/core/Trie.h:24
↓ 4 callers
Method
add
(self, size)
python/mlx/data/datasets/common.py:25
↓ 4 callers
Method
add
mlx/data/core/BatchShape.cpp:26
↓ 4 callers
Method
add_node
mlx/data/core/Graph.h:92
↓ 4 callers
Method
can_merge
mlx/data/core/BPETokenizer.cpp:36
↓ 4 callers
Function
count_padding
(sample)
python/tests/test_dynamic_batch.py:18
↓ 4 callers
Method
finalize
(self)
python/mlx/data/datasets/common.py:60
↓ 4 callers
Method
get
mlx/data/core/TARReader.cpp:184
↓ 4 callers
Function
info_stbi
mlx/data/core/image/ImageSTBI.cpp:60
↓ 4 callers
Function
no_sndfile
mlx/data/core/audio/AudioSndfile.cpp:177
↓ 4 callers
Method
onode
mlx/data/core/Graph.cpp:98
↓ 4 callers
Method
pad
mlx/data/Dataset.cpp:494
↓ 4 callers
Function
read_info
mlx/data/core/audio/AudioSndfile.cpp:100
↓ 4 callers
Function
sndfile_supports_format
mlx/data/core/Version.cpp:128
↓ 4 callers
Function
to_py_sample
python/src/wrap.cpp:224
↓ 4 callers
Function
to_sample
python/src/wrap.cpp:232
↓ 4 callers
Method
tokenize
mlx/data/Dataset.cpp:991
↓ 4 callers
Function
verify_type
mlx/data/core/image/ImageTransform.cpp:17
↓ 3 callers
Function
clone
mlx/data/Array.cpp:213
↓ 3 callers
Method
data
mlx/data/Array.h:74
↓ 3 callers
Method
fetch
mlx/data/core/FileFetcher.cpp:58
↓ 3 callers
Method
fill
mlx/data/Array.cpp:132
↓ 3 callers
Function
gzip_decompress
(src, dst, buffer_size=16 * 1024 * 1024, quiet=False)
python/mlx/data/datasets/common.py:100
↓ 3 callers
Method
info
mlx/data/core/video/VideoFFMPEG.cpp:345
↓ 3 callers
Method
next
python/src/wrap_stream.cpp:42
↓ 3 callers
Method
next
mlx/data/stream/CSVReader.cpp:37
↓ 3 callers
Method
num_edges
mlx/data/core/Graph.h:54
↓ 3 callers
Method
num_nodes
mlx/data/core/Graph.h:51
↓ 3 callers
Method
ordered_prefetch
mlx/data/Buffer.cpp:81
↓ 3 callers
Function
pad
mlx/data/Array.cpp:254
↓ 3 callers
Function
remove
mlx/data/core/Utils.cpp:188
↓ 3 callers
Method
report
(self)
benchmarks/comparative/caltech101/utils.py:20
↓ 3 callers
Method
report
(self)
benchmarks/comparative/librispeech/utils.py:20
↓ 3 callers
Method
report
(self)
benchmarks/comparative/wikitext/utils.py:20
next →
1–100 of 662, ranked by callers