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

Method ImageResizeSmallestSide

mlx/data/op/ImageTransform.cpp:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72ImageResizeSmallestSide::ImageResizeSmallestSide(
73 const std::string& ikey,
74 int64_t size,
75 const std::string& okey)
76 : ImageTransformOp(ikey, okey), size_(size) {};
77
78std::shared_ptr<Array> ImageResizeSmallestSide::apply_image(
79 const std::shared_ptr<const Array>& image) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected