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

Method ImageRotate

mlx/data/op/ImageTransform.cpp:359–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359ImageRotate::ImageRotate(
360 const std::string& ikey,
361 double angle,
362 bool crop,
363 const std::string& okey)
364 : ImageTransformOp(ikey, okey), angle_(angle), crop_(crop) {};
365
366std::shared_ptr<Array> ImageRotate::apply_image(
367 const std::shared_ptr<const Array>& image) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected