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

Method eval

mlx/array.cpp:154–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void array::eval() {
155 // Ensure the array is ready to be read
156 if (status() == Status::unscheduled) {
157 mlx::core::eval({*this});
158 } else {
159 wait();
160 }
161}
162
163bool array::is_tracer() const {
164 return (array_desc_->is_tracer && detail::in_tracing()) ||

Callers 15

itemMethod · 0.45
utils.cppFile · 0.45
ops_tests.cppFile · 0.45
test_arg_reduce_smallFunction · 0.45
eval_mlp.pyFile · 0.45
train_mlp.pyFile · 0.45
mx_conv_3DFunction · 0.45

Calls 2

statusFunction · 0.85
evalFunction · 0.70

Tested by 3

test_arg_reduce_smallFunction · 0.36