We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b765629 commit 1a81658Copy full SHA for 1a81658
src/torchcodec/_core/Transform.h
@@ -62,7 +62,7 @@ class CropTransform : public Transform {
62
CropTransform(const FrameDims& dims, int x, int y);
63
64
// Becomes a center crop if x and y are not specified.
65
- CropTransform(const FrameDims& dims);
+ explicit CropTransform(const FrameDims& dims);
66
67
std::string getFilterGraphCpu() const override;
68
std::optional<FrameDims> getOutputFrameDims() const override;
0 commit comments