ai-content-maker/.venv/Lib/site-packages/torch/include/c10/util/Unicode.h

15 lines
295 B
C
Raw Permalink Normal View History

2024-05-03 04:18:51 +03:00
#pragma once
#if defined(_WIN32)
#include <c10/util/Exception.h>
#include <c10/util/win32-headers.h>
#include <string>
#endif
namespace c10 {
#if defined(_WIN32)
C10_API std::wstring u8u16(const std::string& str);
C10_API std::string u16u8(const std::wstring& wstr);
#endif
} // namespace c10