Skip to content

Commit 3d17f19

Browse files
authored
docs: Update README
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 3f57189 commit 3d17f19

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ More Information / System Architecture:
1010

1111
## Example Usage
1212

13+
### C++
1314
```c++
1415
#include "torch/script.h"
1516
#include "trtorch/trtorch.h"
@@ -25,6 +26,7 @@ auto results = trt_mod.forward({in_tensor});
2526
...
2627
```
2728
29+
### Python
2830
```py
2931
import trtorch
3032
@@ -191,6 +193,7 @@ You can register a converter for your op using the `NodeConverterRegistry` insid
191193
| [**core**](core) | Main JIT ingest, lowering, conversion and execution implementations |
192194
| [**cpp**](cpp) | C++ specific components including API and example applications |
193195
| [**cpp/api**](cpp/api) | C++ API for TRTorch |
196+
| [**py**](py) | Python API for TRTorch |
194197
| [**tests**](tests) | Unit test for TRTorch |
195198

196199
## Contributing

0 commit comments

Comments
 (0)