Skip to content

Commit 9db7040

Browse files
Pyre Bot Jrfacebook-github-bot
authored andcommitted
suppress errors in fbcode/vision - batch 2
Differential Revision: D30222339 fbshipit-source-id: 97d498df72ef897b8dc2405764e3ffd432082e3c
1 parent 8041178 commit 9db7040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch3d/renderer/implicit/raysampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def forward(self, cameras: CamerasBase, **kwargs) -> RayBundle:
123123
device = cameras.device
124124

125125
# expand the (H, W, 2) grid batch_size-times to (B, H, W, 2)
126-
xy_grid = self._xy_grid.to(device)[None].expand( # pyre-ignore
126+
xy_grid = self._xy_grid.to(device)[None].expand(
127127
batch_size, *self._xy_grid.shape
128128
)
129129

0 commit comments

Comments
 (0)