You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extension/apple/ExecuTorch/Exported/ExecuTorchImageProcessor.mm
+36-3Lines changed: 36 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,10 @@
31
31
static_assert((int)ExecuTorchImageResizeModeLetterbox == (int)ResizeMode::LETTERBOX, "ExecuTorchImageResizeModeLetterbox must match ResizeMode::LETTERBOX");
32
32
static_assert((int)ExecuTorchImageLetterboxAnchorCenter == (int)LetterboxAnchor::CENTER, "ExecuTorchImageLetterboxAnchorCenter must match LetterboxAnchor::CENTER");
33
33
static_assert((int)ExecuTorchImageLetterboxAnchorTopLeft == (int)LetterboxAnchor::TOP_LEFT, "ExecuTorchImageLetterboxAnchorTopLeft must match LetterboxAnchor::TOP_LEFT");
34
+
static_assert((int)ExecuTorchImageOrientationUp == (int)Orientation::UP, "ExecuTorchImageOrientationUp must match Orientation::UP");
35
+
static_assert((int)ExecuTorchImageOrientationDown == (int)Orientation::DOWN, "ExecuTorchImageOrientationDown must match Orientation::DOWN");
36
+
static_assert((int)ExecuTorchImageOrientationRight == (int)Orientation::RIGHT, "ExecuTorchImageOrientationRight must match Orientation::RIGHT");
37
+
static_assert((int)ExecuTorchImageOrientationLeft == (int)Orientation::LEFT, "ExecuTorchImageOrientationLeft must match Orientation::LEFT");
0 commit comments