MCPcopy Create free account
hub / github.com/ml-explore/mlx-data / repeat

Method repeat

mlx/data/Stream.cpp:127–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127Stream Stream::repeat(int64_t num_time) const {
128 return Stream(std::make_shared<stream::Repeat>(self_, num_time));
129}
130
131Stream Stream::shuffle(int64_t buffer_size) const {
132 return Stream(std::make_shared<stream::Shuffle>(self_, buffer_size));

Callers 1

test_random_sliceMethod · 0.80

Calls 1

StreamClass · 0.70

Tested by 1

test_random_sliceMethod · 0.64