mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[Reland] Elimates c10::guts::to_string (#108748)
Reland of PR #108480, after relanding another blocking PR. Pull Request resolved: https://github.com/pytorch/pytorch/pull/108748 Approved by: https://github.com/huydhn
This commit is contained in:
@ -508,7 +508,7 @@ RangeValue::RangeValue(
|
||||
if (!typ->cast<IntType>()) {
|
||||
throw ErrorReport(loc)
|
||||
<< "all inputs of range must be ints, found " << typ->repr_str()
|
||||
<< " in argument " << c10::guts::to_string(i);
|
||||
<< " in argument " << std::to_string(i);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user