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

Class ImageResizeSmallestSide

mlx/data/op/ImageTransform.h:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25};
26
27class ImageResizeSmallestSide : public ImageTransformOp {
28 public:
29 ImageResizeSmallestSide(
30 const std::string& ikey,
31 int64_t size,
32 const std::string& okey = "");
33 virtual std::shared_ptr<Array> apply_image(
34 const std::shared_ptr<const Array>& image) const override;
35
36 private:
37 int64_t size_;
38};
39
40class ImageResize : public ImageTransformOp {
41 public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected