mirror of
https://github.com/ml-explore/mlx.git
synced 2025-11-08 05:18:12 +08:00
Properly handle negative axes in python vmap (#944)
This commit is contained in:
committed by
GitHub
parent
741eb28443
commit
3fc993f82d
@@ -7,6 +7,9 @@
|
||||
namespace nb = nanobind;
|
||||
using namespace mlx::core;
|
||||
|
||||
void tree_visit(
|
||||
const std::vector<nb::object>& trees,
|
||||
std::function<void(const std::vector<nb::object>&)> visitor);
|
||||
void tree_visit(nb::object tree, std::function<void(nb::handle)> visitor);
|
||||
|
||||
nb::object tree_map(
|
||||
|
||||
Reference in New Issue
Block a user