[1/N] Replace c10::sv with std::sv (#139453)

Picks some safe replacements.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/139453
Approved by: https://github.com/Skylion007
This commit is contained in:
cyy
2024-11-01 05:39:37 +00:00
committed by PyTorch MergeBot
parent 6ef6b3f586
commit 4a2da52137
22 changed files with 57 additions and 49 deletions

View File

@ -184,7 +184,7 @@ void pushPyOutToStack(
namespace {
c10::TensorImpl::SizesStridesPolicy parseSizesStridesPolicyArgument(
c10::string_view arg) {
std::string_view arg) {
if (arg == "strides") {
return c10::TensorImpl::SizesStridesPolicy::CustomStrides;
}