Open3D (C++ API)
0.17.0
|
#include <vector>
#include "open3d/core/Dtype.h"
#include "open3d/core/nns/NeighborSearchCommon.h"
#include "open3d/ml/pytorch/TorchHelper.h"
#include "open3d/utility/Helper.h"
#include "torch/script.h"
Macros | |
#define | FN_PARAMETERS |
Functions | |
template<class T , class TIndex > | |
void | KnnSearchCPU (const torch::Tensor &points, const torch::Tensor &queries, const int64_t k, const torch::Tensor &points_row_splits, const torch::Tensor &queries_row_splits, const Metric metric, const bool ignore_query_point, const bool return_distances, torch::Tensor &neighbors_index, torch::Tensor &neighbors_row_splits, torch::Tensor &neighbors_distance) |
std::tuple< torch::Tensor, torch::Tensor, torch::Tensor > | KnnSearch (torch::Tensor points, torch::Tensor queries, const int64_t k, torch::Tensor points_row_splits, torch::Tensor queries_row_splits, torch::ScalarType index_dtype, const std::string &metric_str, const bool ignore_query_point, const bool return_distances) |
Variables | |
const char * | knn_fn_format |
#define FN_PARAMETERS |
std::tuple<torch::Tensor, torch::Tensor, torch::Tensor> KnnSearch | ( | torch::Tensor | points, |
torch::Tensor | queries, | ||
const int64_t | k, | ||
torch::Tensor | points_row_splits, | ||
torch::Tensor | queries_row_splits, | ||
torch::ScalarType | index_dtype, | ||
const std::string & | metric_str, | ||
const bool | ignore_query_point, | ||
const bool | return_distances | ||
) |
void KnnSearchCPU | ( | const torch::Tensor & | points, |
const torch::Tensor & | queries, | ||
const int64_t | k, | ||
const torch::Tensor & | points_row_splits, | ||
const torch::Tensor & | queries_row_splits, | ||
const Metric | metric, | ||
const bool | ignore_query_point, | ||
const bool | return_distances, | ||
torch::Tensor & | neighbors_index, | ||
torch::Tensor & | neighbors_row_splits, | ||
torch::Tensor & | neighbors_distance | ||
) |
const char* knn_fn_format |