Skip to content

Commit

Permalink
upgrade pyre version in fbcode/vision - batch 2
Browse files Browse the repository at this point in the history
Differential Revision: D40695068

fbshipit-source-id: 9944a872d93a9dac348b252a0f8bf9c7e6f929f3
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Oct 26, 2022
1 parent 995b60e commit db7c80b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pytorch3d/renderer/points/pulsar/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def forward(
bg_col=None,
opacity=None,
percent_allowed_difference=0.01,
# pyre-fixme[16]: Module `_C` has no attribute `MAX_UINT`.
max_n_hits=_C.MAX_UINT,
mode=0,
return_forward_info=False,
Expand Down Expand Up @@ -323,6 +324,7 @@ def __init__(
max_num_balls: int,
orthogonal_projection: bool = False,
right_handed_system: bool = False,
# pyre-fixme[16]: Module `_C` has no attribute `EPS`.
background_normalized_depth: float = _C.EPS,
n_channels: int = 3,
n_track: int = 5,
Expand Down Expand Up @@ -541,6 +543,7 @@ def forward(
bg_col: Optional[torch.Tensor] = None,
opacity: Optional[torch.Tensor] = None,
percent_allowed_difference: float = 0.01,
# pyre-fixme[16]: Module `_C` has no attribute `MAX_UINT`.
max_n_hits: int = _C.MAX_UINT,
mode: int = 0,
return_forward_info: bool = False,
Expand Down

0 comments on commit db7c80b

Please sign in to comment.