Skip to content

Commit 7d5f612

Browse files
mergennachinNikhil Viswanath Sivakumar
authored and
Nikhil Viswanath Sivakumar
committed
MV2 cpp and python example (#13)
1 parent ff59d2a commit 7d5f612

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,11 @@ xcuserdata/
1414
.build/
1515
.swiftpm/
1616
*.xcworkspace/
17+
<<<<<<< HEAD
1718
*.xcframework/
19+
=======
20+
21+
# MV2
22+
mv2/cpp/build
23+
24+
>>>>>>> 54b0238 (MV2 cpp and python example (#13))

mv2/cpp/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
1+
<<<<<<< HEAD
12
# ExecuTorch MobileNetV2 Demo C++ Application
23

34
This is a simple C++ demo application that uses the ExecuTorch library for MobileNetV2 model inference.
5+
=======
6+
# ExecutorTorch MobileNetV2 Demo C++ Application
7+
8+
This is a simple C++ demo application that uses the ExecutorTorch library for MobileNetV2 model inference.
9+
>>>>>>> 54b0238 (MV2 cpp and python example (#13))
410
511
## Build instructions
612

713
0. Export the model. See [mv2/python/README.md](../python/README.md)
814

15+
<<<<<<< HEAD
916
1. The ExecuTorch repository is already configured as a git submodule at `~/executorch-examples/mv2/cpp/executorch/`. To initialize it:
17+
=======
18+
1. The ExecuTorch repository is already configured as a git submodule at `~/executorch-examples/cpp/executorch/`. To initialize it:
19+
>>>>>>> 54b0238 (MV2 cpp and python example (#13))
1020
```bash
1121
cd ~/executorch-examples/
1222
git submodule sync
@@ -36,9 +46,18 @@ This is a simple C++ demo application that uses the ExecuTorch library for Mobil
3646

3747
- CMake 3.18 or higher
3848
- C++17 compatible compiler
49+
<<<<<<< HEAD
3950
- ExecuTorch library (release/0.6)
4051

4152
## Notes
4253

4354
- Make sure you have the correct model file (`.pte`) compatible with ExecuTorch.
4455
- This demo currently initializes the input tensor with random data. In a real application, you would replace this with actual input data.
56+
=======
57+
- ExecutorTorch library (release/0.6)
58+
59+
## Notes
60+
61+
- Make sure you have the correct model file (`.pte`) compatible with ExecutorTorch.
62+
- This demo currently initializes the input tensor with random data. In a real application, you would replace this with actual input data.
63+
>>>>>>> 54b0238 (MV2 cpp and python example (#13))

0 commit comments

Comments
 (0)