Skip to content

Commit

Permalink
Merge pull request #1217 from davinnovation/patch-1
Browse files Browse the repository at this point in the history
Fix typo in EfficientNet-example
  • Loading branch information
peri044 authored Aug 1, 2022
2 parents 9b45373 + 59661f8 commit db61e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/EfficientNet-example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@
"# The compiled module will have precision as specified by \"op_precision\".\n",
"# Here, it will have FP16 precision.\n",
"trt_model_fp16 = torch_tensorrt.compile(model, inputs = [torch_tensorrt.Input((128, 3, 224, 224), dtype=torch.half)],\n",
" enabled_precisions = {torch.half}, # Run with FP32\n",
" enabled_precisions = {torch.half}, # Run with FP16\n",
" workspace_size = 1 << 22\n",
")"
]
Expand Down

0 comments on commit db61e90

Please sign in to comment.