Skip to content

Commit

Permalink
Add adaptive pooling tests for 3D models
Browse files Browse the repository at this point in the history
  • Loading branch information
AndPuQing committed Dec 25, 2023
1 parent da3f73b commit 108d592
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,12 @@ def main():
"return_mask": False,
}
adaptive_pool3d(pooling_type + "AdaptivePool3D_test3", data_NCDHW, paddle_attrs)
paddle_attrs = {
"pool_size": 1, # global pooling case
"pool_type": pooling_type,
"return_mask": True,
}
adaptive_pool3d(pooling_type + "AdaptivePool3D_test4", data_NCDHW, paddle_attrs)


if __name__ == "__main__":
Expand Down

0 comments on commit 108d592

Please sign in to comment.