Skip to content

Commit

Permalink
Merge pull request #1273 from davinnovation/patch-3
Browse files Browse the repository at this point in the history
Fix typo in README
  • Loading branch information
narendasan authored Aug 16, 2022
2 parents 9bb0087 + 99b655c commit e8c971a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ trt_ts_module = torch_tensorrt.compile(torch_script_module,
# For static size shape=[1, 3, 224, 224]
dtype=torch.half) # Datatype of input tensor. Allowed options torch.(float|half|int8|int32|bool)
],
enabled_precisions = {torch.half}, # Run with FP16)
enabled_precisions = {torch.half}, # Run with FP16
)
result = trt_ts_module(input_data) # run inference
torch.jit.save(trt_ts_module, "trt_torchscript_module.ts") # save the TRT embedded Torchscript
Expand Down

0 comments on commit e8c971a

Please sign in to comment.