Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates div sometimes performing floor division to explicitly perform…
… either true division or floor division Summary: torch.div will soon throw a runtime error when it would have performed floor division. This diff updates this instance of div to use either the true division or floor division operators as appropriate so the behavior doesn't change and the test won't throw a runtime error. Created from Diffusion's 'Open in Editor' feature. Reviewed By: myleott Differential Revision: D21900423 fbshipit-source-id: 363c3e64d25608a033cd2942dcbb039a73018596
- Loading branch information