Change c10::string_view to std::string.

This commit is contained in:
尤安升
2022-05-12 09:16:30 +08:00
parent 667878f33c
commit 4229fbd90a
+1 -1
View File
@@ -641,7 +641,7 @@ def argument_type_str(t: Type, *, simple_type: bool = False) -> str:
BaseTy.Tensor: 'Tensor',
BaseTy.int: 'int64_t',
BaseTy.float: 'double',
BaseTy.str: 'c10::string_view'
BaseTy.str: 'std::string'
}
if t.name in base_dict:
return base_dict[t.name]