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 75046bd commit 4cb3d80Copy full SHA for 4cb3d80
torchvision/csrc/io/video/video.cpp
@@ -77,7 +77,7 @@ std::tuple<std::string, long> _parseStream(const std::string& streamString) {
77
long index_ = -1;
78
if (match[2].matched) {
79
try {
80
- index_ = c10::stoi(match[2].str());
+ index_ = std::stoi(match[2].str());
81
} catch (const std::exception&) {
82
TORCH_CHECK(
83
false,
0 commit comments