mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user