Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable gradient calculation in
_check_valid_rotation_matrix()
Summary: # Make `transform3d.py` a little bit better (performance and code quality) ## 1. Add decorator `torch.no_grad()` to the function `_check_valid_rotation_matrix()` Function `_check_valid_rotation_matrix()` is needed to identify errors during forward pass only, it's not used for gradients. ## 2. Replace two calls `to` with the single one Reviewed By: bottler Differential Revision: D29656501 fbshipit-source-id: 4419e24dbf436c1b60abf77bda4376fb87a593be
- Loading branch information