Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return empty sparsity config if targets and ignores are empty (#1115)
This PR fixes an issue where a sparsity configuration could end up being empty under certain conditions. Specifically, if the global sparsity is greater than 0.05, but no individual layer has a sparsity greater than 0.5, we end up with an empty sparsity config. To address this, we now ensure that an empty sparsity config is not added in such cases --- - To see the specific tasks where the Asana app for GitHub is being used, see below: - https://app.asana.com/0/0/1209272443107638 Signed-off-by: Rahul Tuli <[email protected]> Co-authored-by: Dipika Sikka <[email protected]>
- Loading branch information