Skip to content

Commit 3db7aaa

Browse files
committed
Better comments
1 parent a964447 commit 3db7aaa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/torchcodec/_core/custom_ops.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ int checkedToPositiveInt(const std::string& str) {
196196
return ret;
197197
}
198198

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.
199205
Transform* makeResizeTransform(
200206
const std::vector<std::string>& resizeTransformSpec) {
201207
TORCH_CHECK(

0 commit comments

Comments
 (0)