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

Method ~InnerFunction

python/src/transforms.cpp:611–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609 args_structure_(std::move(args_structure)),
610 output_structure_(output_structure) {}
611 ~InnerFunction() {
612 nb::gil_scoped_acquire gil;
613
614 fun_.reset();
615 args_structure_.reset();
616 }
617
618 std::vector<mx::array> operator()(const std::vector<mx::array>& inputs) {
619 auto args = nb::cast<nb::tuple>(

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected