pyre and lint fixes

Summary: Fixing several unused imports and pyre/linter warnings.

Reviewed By: bottler

Differential Revision: D22592491

fbshipit-source-id: 463383b9b73a545949475044fb5c531712f8482c
This commit is contained in:
Nikhila Ravi
2020-07-17 10:27:47 -07:00
committed by Facebook GitHub Bot
parent 7e5bad475c
commit 4f78af6170
8 changed files with 53 additions and 65 deletions

View File

@@ -375,7 +375,7 @@ class Transform3d:
"""
other = Transform3d(device=self.device)
if self._lu is not None:
other._lu = [l.clone() for l in self._lu]
other._lu = [elem.clone() for elem in self._lu]
other._matrix = self._matrix.clone()
other._transforms = [t.clone() for t in self._transforms]
return other