mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
NumberOfElements for shapeless compile and vmap fixes (#802)
This commit is contained in:
committed by
GitHub
parent
29d0c10ee5
commit
76c919b4ec
@@ -653,6 +653,7 @@ std::vector<array> vmap_replace(
|
||||
v_axes.push_back(-1);
|
||||
}
|
||||
}
|
||||
|
||||
auto [v_outputs, v_out_axes] = a.primitive().vmap(v_inputs, v_axes);
|
||||
// For each primitive's outputs add its id, the vout id and the vax
|
||||
auto outputs = a.outputs();
|
||||
|
||||
Reference in New Issue
Block a user