ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
RoiPoolKernel.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 namespace cloudViewer {
11 namespace ml {
12 namespace contrib {
13 
14 #ifdef BUILD_CUDA_MODULE
15 
16 void roipool3dLauncher(int batch_size,
17  int pts_num,
18  int boxes_num,
19  int feature_in_len,
20  int sampled_pts_num,
21  const float *xyz,
22  const float *boxes3d,
23  const float *pts_feature,
24  float *pooled_features,
25  int *pooled_empty_flag);
26 #endif
27 
28 } // namespace contrib
29 } // namespace ml
30 } // namespace cloudViewer
Generic file read and write utility for python interface.