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

Class LoadNumpy

mlx/data/op/LoadNumpy.h:11–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace op {
10
11class LoadNumpy : public KeyTransformOp {
12 public:
13 LoadNumpy(
14 const std::string& ikey,
15 const std::string& prefix = "",
16 bool from_memory = false,
17 const std::string& okey = "");
18
19 virtual std::shared_ptr<Array> apply_key(
20 const std::shared_ptr<const Array>& src) const override;
21
22 private:
23 std::string prefix_;
24 bool from_memory_;
25};
26
27} // namespace op
28} // namespace data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected