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

Method LoadVideo

mlx/data/op/LoadVideo.cpp:11–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace data {
10namespace op {
11LoadVideo::LoadVideo(
12 const std::string& ikey,
13 const std::string& prefix,
14 bool info,
15 bool from_memory,
16 const std::string& okey)
17 : KeyTransformOp(ikey, okey),
18 prefix_(prefix),
19 info_(info),
20 from_memory_(from_memory) {}
21std::shared_ptr<Array> LoadVideo::apply_key(
22 const std::shared_ptr<const Array>& src) const {
23 std::filesystem::path path;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected