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
↓ 3 callers
Function
strnlength
mlx/data/core/TARReader.cpp:12
↓ 3 callers
Function
tokenize
mlx/data/core/Tokenizer.cpp:18
↓ 3 callers
Method
tokenize
mlx/data/core/BPETokenizer.cpp:55
↓ 3 callers
Function
unpickle_from_tar
(tarfd)
python/mlx/data/datasets/cifar.py:29
↓ 3 callers
Method
update
(self, current_size)
python/mlx/data/datasets/common.py:28
↓ 2 callers
Function
_download
(root, data, quiet, validate_download)
python/mlx/data/datasets/cifar.py:36
↓ 2 callers
Function
_iterate_spm_tokens
(spm_file)
python/mlx/data/tokenizer_helpers.py:16
↓ 2 callers
Function
_load_mnist_wrapper
(root=None, train=True, dataset="mnist")
python/mlx/data/datasets/mnist.py:14
↓ 2 callers
Method
add_edge
mlx/data/core/Graph.h:100
↓ 2 callers
Method
apply
mlx/data/op/Op.cpp:11
↓ 2 callers
Function
batch
mlx/data/Array.cpp:465
↓ 2 callers
Method
buffered
mlx/data/Stream.cpp:41
↓ 2 callers
Function
channels
Return the channel count of the image. Requires that `verifyVideo()` be called previously.
mlx/data/core/video/Video.h:46
↓ 2 callers
Function
check_signature
mlx/data/core/image/ImageJPEG.cpp:74
↓ 2 callers
Function
convert_resample_mode
mlx/data/op/LoadAudio.cpp:37
↓ 2 callers
Function
extract_audio_info
mlx/data/op/LoadAudio.cpp:11
↓ 2 callers
Function
files_and_classes
(root: Path)
benchmarks/comparative/caltech101/mlx_data.py:11
↓ 2 callers
Method
final_node
mlx/data/core/Graph.cpp:147
↓ 2 callers
Function
hertz_to_warped_scale
(hz, freqscale)
python/mlx/data/features/audio.py:40
↓ 2 callers
Function
hflip
mlx/data/core/image/ImageTransform.cpp:123
↓ 2 callers
Method
image_center_crop
mlx/data/Dataset.cpp:75
↓ 2 callers
Method
image_resize_smallest_side
mlx/data/Dataset.cpp:215
↓ 2 callers
Function
info_sndfile
mlx/data/core/audio/AudioSndfile.cpp:155
↓ 2 callers
Method
key_string
mlx/data/core/Trie.h:130
↓ 2 callers
Function
levenshtein
mlx/data/core/Levenshtein.cpp:95
↓ 2 callers
Method
line_reader_from_key
mlx/data/Stream.cpp:64
↓ 2 callers
Function
load_imagenet_devkit
Load the metadata and the validation ground truth from the devkit.
python/mlx/data/datasets/imagenet.py:49
↓ 2 callers
Function
load_jpeg
mlx/data/core/image/ImageJPEG.cpp:99
↓ 2 callers
Function
load_numpy
mlx/data/core/Numpy.cpp:321
↓ 2 callers
Function
load_sndfile
mlx/data/core/audio/AudioSndfile.cpp:119
↓ 2 callers
Function
load_stbi
mlx/data/core/image/ImageSTBI.cpp:14
↓ 2 callers
Function
merge_batch
mlx/data/core/Utils.cpp:209
↓ 2 callers
Function
mlx_data_export_dataset
python/src/wrap_dataset.h:29
↓ 2 callers
Method
num_keys
mlx/data/core/Trie.h:106
↓ 2 callers
Function
num_sample_per_frame
(sampling_freq, frame_size_ms)
python/mlx/data/features/audio.py:36
↓ 2 callers
Function
pad
(x)
benchmarks/comparative/wikitext/pytorch.py:55
↓ 2 callers
Function
process_meta_and_val_gt
(metafile_fd, valgt_fd, dstdir)
python/mlx/data/datasets/imagenet.py:53
↓ 2 callers
Method
random_slice
mlx/data/Dataset.cpp:604
↓ 2 callers
Function
read_data
mlx/data/core/audio/AudioSndfile.cpp:110
↓ 2 callers
Function
read_trie_from_spm
Read an :class:`mlx.data.core.CharTrie` from a sentencepiece file. Reading directly from a model file requires installing sentencepiece, howe
python/mlx/data/tokenizer_helpers.py:40
↓ 2 callers
Function
resample
mlx/data/core/audio/AudioSampleRate.cpp:17
↓ 2 callers
Function
resize
mlx/data/core/image/ImageTransform.cpp:41
↓ 2 callers
Function
save
mlx/data/core/image/ImageIO.cpp:34
↓ 2 callers
Method
size
mlx/data/buffer/FromVector.cpp:32
↓ 2 callers
Method
size
mlx/data/buffer/Append.cpp:29
↓ 2 callers
Method
size
mlx/data/buffer/Partition.cpp:34
↓ 2 callers
Method
sliding_window
mlx/data/Stream.cpp:142
↓ 2 callers
Method
start_node
mlx/data/core/Graph.cpp:140
↓ 2 callers
Function
stream_csv_reader
mlx/data/Stream.cpp:156
↓ 2 callers
Function
stream_line_reader
mlx/data/Stream.cpp:183
↓ 2 callers
Function
to_special_token
(token)
python/mlx/data/tokenizer_helpers.py:67
↓ 2 callers
Function
verify_image
mlx/data/core/image/ImageIO.cpp:39
↓ 2 callers
Function
verify_signature
mlx/data/core/image/ImageJPEG.cpp:68
↓ 2 callers
Method
visit_nodes
mlx/data/core/Graph.cpp:107
↓ 1 callers
Method
Compose
mlx/data/stream/Compose.cpp:11
↓ 1 callers
Function
_metafile_to_python
(meta)
python/mlx/data/datasets/imagenet.py:36
↓ 1 callers
Function
affine
mlx/data/core/image/ImageTransform.cpp:75
↓ 1 callers
Function
apply
mlx/data/Array.h:191
↓ 1 callers
Function
argmin
mlx/data/core/Levenshtein.cpp:16
↓ 1 callers
Function
aws_get_version
mlx/data/core/Version.cpp:220
↓ 1 callers
Method
backend_fetch
mlx/data/core/FileFetcher.cpp:140
↓ 1 callers
Function
batch
(batch_size, iterable)
benchmarks/comparative/wikitext/pytorch.py:60
↓ 1 callers
Function
bpe
(tokenmap, token, max_rank)
python/mlx/data/tokenizer_helpers.py:168
↓ 1 callers
Function
buffer_from_vector
mlx/data/Buffer.cpp:133
↓ 1 callers
Function
bzip2_get_version
mlx/data/core/Version.cpp:73
↓ 1 callers
Function
channel_reduction
mlx/data/core/image/ImageTransform.cpp:142
↓ 1 callers
Function
channels
Return the channel count of the audio. Requires that `verifyAudio()` be called previously.
mlx/data/core/audio/Audio.h:40
↓ 1 callers
Function
document_iterator
Extract documents from wikitext raw file.
benchmarks/comparative/wikitext/pytorch.py:13
↓ 1 callers
Function
download
()
python/mlx/data/datasets/mnist.py:28
↓ 1 callers
Function
download_speechcommands
Download/fetch the speechcommands TAR archive and return the path to it for processing. Args: root (Path or str, optional): The The direc
python/mlx/data/datasets/speechcommands.py:26
↓ 1 callers
Function
ffmpeg_get_version
mlx/data/core/Version.cpp:213
↓ 1 callers
Function
files_and_classes
(root: Path)
benchmarks/comparative/caltech101/tfds.py:11
↓ 1 callers
Method
filter_key
mlx/data/Dataset.cpp:60
↓ 1 callers
Function
find_hwdevice_type
mlx/data/core/video/VideoFFMPEG.cpp:76
↓ 1 callers
Function
find_loaded_lib_names
mlx/data/core/ThreadController.cpp:29
↓ 1 callers
Function
flac_get_version
mlx/data/core/Version.cpp:141
↓ 1 callers
Function
flatmap
(func, iterable)
benchmarks/comparative/wikitext/pytorch.py:45
↓ 1 callers
Method
get
mlx/data/buffer/FromVector.cpp:25
↓ 1 callers
Method
get_file_list
mlx/data/core/TARReader.cpp:211
↓ 1 callers
Function
get_metadata
Helper function to get metadata from the tarfile. This includes file names by split, as well as class names and their mapping to integers.
python/mlx/data/datasets/speechcommands.py:60
↓ 1 callers
Function
get_version
(version)
setup.py:15
↓ 1 callers
Function
index_worker
Index a TAR file and return the index
mlx/data/core/TARReader.cpp:69
↓ 1 callers
Function
init_mlx_data_buffer
python/src/wrap_buffer.cpp:38
↓ 1 callers
Function
init_mlx_data_core
python/src/wrap_core.cpp:28
↓ 1 callers
Function
init_mlx_data_stream
python/src/wrap_stream.cpp:68
↓ 1 callers
Function
jpeg_get_version
mlx/data/core/Version.cpp:96
↓ 1 callers
Function
jpeg_mem_set_source_mgr
mlx/data/core/image/ImageJPEG.cpp:47
↓ 1 callers
Method
key_transform_if
mlx/data/Dataset.cpp:271
↓ 1 callers
Function
keys
mlx/data/Sample.cpp:10
↓ 1 callers
Function
levenshtein_t
mlx/data/core/Levenshtein.cpp:27
↓ 1 callers
Method
limit
mlx/data/core/ThreadController.cpp:107
↓ 1 callers
Method
load_audio_if
mlx/data/Dataset.cpp:325
↓ 1 callers
Function
load_librispeech_tarfile
Fetch the librispeech TAR archive and return the path to it for manual processing. Args: root (Path or str, optional): The The directory
python/mlx/data/datasets/librispeech.py:62
↓ 1 callers
Function
load_libritts_r_tarfile
Fetch the LibriTTS-R TAR archive and return the path to it for manual processing. Args: root (Path or str, optional): The The directory t
python/mlx/data/datasets/libritts_r.py:52
↓ 1 callers
Function
lzma_get_version
mlx/data/core/Version.cpp:80
↓ 1 callers
Method
message
(self, width=40)
python/mlx/data/datasets/common.py:34
↓ 1 callers
Function
mfsc
Returns a function that computes spectrogram features from audio in particular mel-frequency spectral coefficients (MFSCs). .. note::
python/mlx/data/features/audio.py:162
↓ 1 callers
Function
mpg123_get_version
mlx/data/core/Version.cpp:174
↓ 1 callers
Method
next
mlx/data/stream/Buffered.cpp:56
↓ 1 callers
Method
next
mlx/data/stream/Compose.cpp:29
← previous
next →
101–200 of 662, ranked by callers