!43564 support compile in msvc .remove utf8 character

Merge pull request !43564 from qiuzhongya/qiuzhongya_msvc6
This commit is contained in:
i-robot 2022-10-10 12:49:10 +00:00 committed by Gitee
commit ab8485f036
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 7 additions and 7 deletions

View File

@ -35,7 +35,7 @@ typedef enum MSStatus {
// Core
kMSStatusCoreFailed = kMSCompCodeCore | 0x1,
// Lite // Common error code, range: [-1, -100
// Lite // Common error code, range: [-1, -100)
kMSStatusLiteError = kMSCompCodeLite | (0x0FFFFFFF & -1), /**< Common error code. */
kMSStatusLiteNullptr = kMSCompCodeLite | (0x0FFFFFFF & -2), /**< NULL pointer returned.*/
kMSStatusLiteParamInvalid = kMSCompCodeLite | (0x0FFFFFFF & -3), /**< Invalid parameter.*/

View File

@ -29,7 +29,7 @@ constexpr auto kValidResidualStructureIndex = 1;
constexpr auto kBNParametersStartIndex = 2;
// Pattern 1
// Add -> BatchNorm -> Conv2D -> Relu ... -> End
// BatchNorm -> Conv2D -> -> -> ->
// BatchNorm -> Conv2D -> -> -> ->
constexpr auto kFirstBranchPattern1 = 12;
constexpr auto kSecondBranchPattern1 = 3;
constexpr auto kFirstBranchStartIndexPattern1 = 4;
@ -45,7 +45,7 @@ const std::vector<kStructureTuple> ResidualStructureBasePattern{
{kSecondBranchStartIndexPattern1, kSecondBranchEndIndexPattern1}}};
// Pattern 2
// Add -> BatchNorm -> Conv2D -> Relu ... -> End
// -> -> ... ... ... -> ->
// -> -> ... ... ... -> ->
constexpr auto kFirstBranchPattern2 = 12;
constexpr auto kSecondBranchPattern2 = 1;
constexpr auto kFirstBranchStartIndexPattern2 = 4;
@ -59,7 +59,7 @@ const std::vector<kStructureTuple> ResidualStructureShortCutPattern{
{kSecondBranchPattern2, {prim::kPrimRelu}, {kSecondBranchStartIndexPattern2, kSecondBranchEndIndexPattern2}}};
// Pattern 3
// Add -> BatchNorm -> Conv2D -> Relu ... BatchNorm -> Conv2D -> End
// BatchNorm -> Conv2D -> -> ... ... ... -> ->
// BatchNorm -> Conv2D -> -> ... ... ... -> ->
constexpr auto kFirstBranchPattern3 = 11;
constexpr auto kSecondBranchPattern3 = 3;
constexpr auto kFirstBranchStartIndexPattern3 = 4;

View File

@ -547,9 +547,9 @@ void ClipPointsComponent(const std::string &points, const std::string &clipped,
namespace while_loop_export {
namespace {
const char CONTROL_PATTERN[] = "\u21B5"; // ↵
const char LOOP_BODY_PATTERN[] = "\u21BB"; // ↻
const char AFTER_LOOP_PATTERN[] = "\u2193"; // ↓
const char CONTROL_PATTERN[] = "\u21B5";
const char LOOP_BODY_PATTERN[] = "\u21BB";
const char AFTER_LOOP_PATTERN[] = "\u2193";
const size_t LOOP_BODY_INPUT = 2;
const size_t AFTER_LOOP_INPUT = 3;