mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Fixes #ISSUE_NUMBER Pull Request resolved: https://github.com/pytorch/pytorch/pull/140472 Approved by: https://github.com/ezyang
11 lines
205 B
C++
11 lines
205 B
C++
#pragma once
|
|
|
|
#include <c10/macros/Export.h>
|
|
#include <string>
|
|
|
|
namespace c10::utils {
|
|
|
|
// Get an error string in the thread-safe way.
|
|
C10_API std::string str_error(int errnum);
|
|
|
|
} // namespace c10::utils
|