Skip to content

Commit

Permalink
docs: Update README
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Dasan <[email protected]>
Signed-off-by: Naren Dasan <[email protected]>
  • Loading branch information
narendasan authored May 18, 2020
1 parent 3f57189 commit 3d17f19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ More Information / System Architecture:

## Example Usage

### C++
```c++
#include "torch/script.h"
#include "trtorch/trtorch.h"
Expand All @@ -25,6 +26,7 @@ auto results = trt_mod.forward({in_tensor});
...
```
### Python
```py
import trtorch
Expand Down Expand Up @@ -191,6 +193,7 @@ You can register a converter for your op using the `NodeConverterRegistry` insid
| [**core**](core) | Main JIT ingest, lowering, conversion and execution implementations |
| [**cpp**](cpp) | C++ specific components including API and example applications |
| [**cpp/api**](cpp/api) | C++ API for TRTorch |
| [**py**](py) | Python API for TRTorch |
| [**tests**](tests) | Unit test for TRTorch |

## Contributing
Expand Down

0 comments on commit 3d17f19

Please sign in to comment.