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

Method ImageTransformOp

mlx/data/op/ImageTransform.cpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace op {
17
18ImageTransformOp::ImageTransformOp(
19 const std::string& ikey,
20 const std::string& okey)
21 : KeyTransformOp(ikey, okey) {}
22std::shared_ptr<Array> ImageTransformOp::apply_key(
23 const std::shared_ptr<const Array>& src) const {
24 if (src->shape().size() == 4) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected