Skip to content

Commit

Permalink
Daily arc lint --take CLANGFORMAT
Browse files Browse the repository at this point in the history
Reviewed By: zertosh

Differential Revision: D33090919

fbshipit-source-id: 78efa486776014a27f280a01a21f9e0af6742e3e
  • Loading branch information
CodemodService FBSourceClangFormatLinterBot authored and facebook-github-bot committed Dec 14, 2021
1 parent f8fe9a2 commit 9eec430
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pytorch3d/csrc/pulsar/pytorch/renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@ std::tuple<size_t, size_t, bool, torch::Tensor> Renderer::arg_check(
vert_col.ndimension() == 2, 2, "vert_col needs to have dimension 2.");
TORCH_CHECK_ARG(
vert_radii.ndimension() == 1, 3, "vert_radii must have dimension 1.");
TORCH_CHECK_ARG(cam_pos.ndimension() == 1, 4, "cam_pos must have dimension 1.");
TORCH_CHECK_ARG(
cam_pos.ndimension() == 1, 4, "cam_pos must have dimension 1.");
TORCH_CHECK_ARG(
pixel_0_0_center.ndimension() == 1,
5,
Expand Down Expand Up @@ -967,7 +968,8 @@ Renderer::backward(
2,
"The image must be of float type.");
if (dif_opy) {
TORCH_CHECK_ARG(opacity.has_value(), 13, "dif_opy set requires opacity values.");
TORCH_CHECK_ARG(
opacity.has_value(), 13, "dif_opy set requires opacity values.");
}
if (batch_processing) {
TORCH_CHECK_ARG(
Expand Down

0 comments on commit 9eec430

Please sign in to comment.