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 a964447 commit 3db7aaaCopy full SHA for 3db7aaa
src/torchcodec/_core/custom_ops.cpp
@@ -196,6 +196,12 @@ int checkedToPositiveInt(const std::string& str) {
196
return ret;
197
}
198
199
+// Resize transform specs take the form:
200
+//
201
+// "resize, <height>, <width>"
202
203
+// Where "resize" is the string literal and <height> and <width> are positive
204
+// integers.
205
Transform* makeResizeTransform(
206
const std::vector<std::string>& resizeTransformSpec) {
207
TORCH_CHECK(
0 commit comments