mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Summary: See https://github.com/pytorch/pytorch/issues/47422 Pull Request resolved: https://github.com/pytorch/pytorch/pull/49781 Reviewed By: gchanan Differential Revision: D25847993 Pulled By: ezyang fbshipit-source-id: e683a8d5841885857ea3037ac801432a1a3eda68
15 lines
278 B
C++
15 lines
278 B
C++
#pragma once
|
|
|
|
#if defined(_WIN32)
|
|
#include <string>
|
|
#include <c10/util/win32-headers.h>
|
|
#include <c10/util/Exception.h>
|
|
#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
|
|
}
|