| 315 | } |
| 316 | |
| 317 | ImageRandomHFlip::ImageRandomHFlip( |
| 318 | const std::string& ikey, |
| 319 | float prob, |
| 320 | const std::string& okey) |
| 321 | : ImageTransformOp(ikey, okey), prob_(prob) {}; |
| 322 | |
| 323 | std::shared_ptr<Array> ImageRandomHFlip::apply_image( |
| 324 | const std::shared_ptr<const Array>& image) const { |
nothing calls this directly
no outgoing calls
no test coverage detected