Skip to content

Commit f28571b

Browse files
authored
Update README.md
1 parent 56cd8e8 commit f28571b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ torch.onnx.export(model, # model being run
122122

123123
3. **Preprocess the model**
124124

125-
`fLibrary/` holds the library files that recreate and run inference on the model. Run `python modelParserONNX.py -f path/to/model/structure -w path/to/weights/file` to reconstruct the model.
125+
`fLibrary/` holds the library files that recreate and run inference on the model. Run `python modelParserONNX.py -f path/to/model/structure -w path/to/weights/file` to reconstruct the model.
126126

127127
4. **Compiling the library**
128128

129-
Then, in the same `/fLibrary` directory, run `make library`. This compiles the library into `libcorelib.a`, which is required to link other `*.o` files with the library. This library file is now ready to be integrated into any Fortran/C workflow.
129+
Then, in the same `/fLibrary` directory, run `make library`. This compiles the library into `libcorelib.a`, which is required to link other `*.o` files with the library. This library file is now ready to be integrated into any Fortran/C workflow.
130130

131131
## Fortran use
132132

@@ -140,8 +140,8 @@ gfortran -o flibrary path/to/libcorelib.a *.o
140140

141141
## C use
142142

143-
One can call roseNNA from C painlessly.
144-
Compile the library, then use the following C program as an example:
143+
One can readily call roseNNa from C.
144+
Compile roseNNa, then use the following C program as an example:
145145
```c
146146
void use_model(double * i0, double * o0);
147147
void initialize(char * model_file, char * weights_file);

0 commit comments

Comments
 (0)