From 9db70400d8804a80e31877fdcc2efd545b05f24c Mon Sep 17 00:00:00 2001 From: Pyre Bot Jr <> Date: Tue, 10 Aug 2021 10:20:41 -0700 Subject: [PATCH] suppress errors in `fbcode/vision` - batch 2 Differential Revision: D30222339 fbshipit-source-id: 97d498df72ef897b8dc2405764e3ffd432082e3c --- pytorch3d/renderer/implicit/raysampling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch3d/renderer/implicit/raysampling.py b/pytorch3d/renderer/implicit/raysampling.py index c20e5e6e..a4711d6b 100644 --- a/pytorch3d/renderer/implicit/raysampling.py +++ b/pytorch3d/renderer/implicit/raysampling.py @@ -123,7 +123,7 @@ class GridRaysampler(torch.nn.Module): device = cameras.device # expand the (H, W, 2) grid batch_size-times to (B, H, W, 2) - xy_grid = self._xy_grid.to(device)[None].expand( # pyre-ignore + xy_grid = self._xy_grid.to(device)[None].expand( batch_size, *self._xy_grid.shape )