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

Method LoadNumpy

mlx/data/op/LoadNumpy.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace data {
11namespace op {
12LoadNumpy::LoadNumpy(
13 const std::string& ikey,
14 const std::string& prefix,
15 bool from_memory,
16 const std::string& okey)
17 : KeyTransformOp(ikey, okey), prefix_(prefix), from_memory_(from_memory) {}
18
19std::shared_ptr<Array> LoadNumpy::apply_key(
20 const std::shared_ptr<const Array>& src) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected