Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added pure computation inference time
Summary: It's more useful to report pure computation time as inference time of a model, rather than the total inference time including data loader and evaluator operations. The results tend to be more stable and reflect better model operation. This adds a sync point to the inference code, which implies however little to no overhead, since synchronization would most likely happen during `evaluator.evaluate(inputs, outputs)` on the next line anyway. Reviewed By: ppwwyyxx Differential Revision: D17905849 fbshipit-source-id: ded18415f14b11c8d6aab3cd333cba7eb1126ed8
- Loading branch information