This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance improvement in metrics calculations (#409)
Summary: Pull Request resolved: #409 Metrics calculation for doc classification takes much longer than the training itself: x34 of the training time! This simple diff improves the metrics time significantly by fixing the low-hanging fruit of bool->int casting. It's still taking the majority of the time (x9 only!), so it will need further improvements. Reviewed By: borguz Differential Revision: D14474255 fbshipit-source-id: 55a4448ce73cc2c9dc61e98e52862d642167b752
- Loading branch information