@@ -94,7 +94,7 @@ OpsBatchDecodedOutput makeOpsBatchDecodedOutput(
9494// Implementations for the operators
9595// ==============================
9696
97- at::Tensor create_from_file (c10 ::string_view filename) {
97+ at::Tensor create_from_file (std ::string_view filename) {
9898 std::string filenameStr (filename);
9999 std::unique_ptr<VideoDecoder> uniqueDecoder =
100100 VideoDecoder::createFromFilePath (filenameStr);
@@ -121,9 +121,9 @@ void add_video_stream(
121121 std::optional<int64_t > width,
122122 std::optional<int64_t > height,
123123 std::optional<int64_t > num_threads,
124- std::optional<c10 ::string_view> dimension_order,
124+ std::optional<std ::string_view> dimension_order,
125125 std::optional<int64_t > stream_index,
126- std::optional<c10 ::string_view> device) {
126+ std::optional<std ::string_view> device) {
127127 _add_video_stream (
128128 decoder,
129129 width,
@@ -139,10 +139,10 @@ void _add_video_stream(
139139 std::optional<int64_t > width,
140140 std::optional<int64_t > height,
141141 std::optional<int64_t > num_threads,
142- std::optional<c10 ::string_view> dimension_order,
142+ std::optional<std ::string_view> dimension_order,
143143 std::optional<int64_t > stream_index,
144- std::optional<c10 ::string_view> device,
145- std::optional<c10 ::string_view> color_conversion_library) {
144+ std::optional<std ::string_view> device,
145+ std::optional<std ::string_view> color_conversion_library) {
146146 VideoDecoder::VideoStreamDecoderOptions options;
147147 options.width = width;
148148 options.height = height;
0 commit comments