Skip to content

Commit

Permalink
FIX: correct doc
Browse files Browse the repository at this point in the history
  • Loading branch information
T-K-233 committed Oct 15, 2024
1 parent d317f37 commit fad5aa7
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions examples/simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

A simple example demonstrating C = A * B + D

## Initial setup

```bash
mkdir ./example/simple/build/
cd ./example/simple/build/
cmake ..
```

## Generating model weights

Expand All @@ -17,13 +10,17 @@ cd ./example/simple/
python ./scripts/run.py
```

The script will generate a `model.pth` file and a `model.bin` file.
The script will generate a `model.bin` file containing the bias and weight data.


## Building

## Compiling and running the program
At project root, run the following commands.

```bash
cd ./example/simple/build/
cmake --build . && ./mnist
# or set up towards other targets
cmake -S ./ -B ./build/ -D CMAKE_BUILD_TYPE=Debug -D CMAKE_TOOLCHAIN_FILE=./riscv-gcc.cmake
cmake --build ./build/ --target simple
```


0 comments on commit fad5aa7

Please sign in to comment.