Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
SparseConvOps.cpp File Reference

Data Structures

class  SparseConvFunction

Macros

#define FN_PARAMETERS
#define CALL(feat_t, out_t, index_t, kernel_index_t, fn)
#define CALL(feat_t, out_t, index_t, kernel_index_t, fn_suffix)

Functions

torch::Tensor SparseConv (const torch::Tensor &filters, const torch::Tensor &inp_features, const torch::Tensor &inp_importance, const torch::Tensor &neighbors_index, const torch::Tensor &neighbors_kernel_index, const torch::Tensor &neighbors_importance, const torch::Tensor &neighbors_row_splits, const bool normalize, const int64_t max_temp_mem_MB)

Macro Definition Documentation

◆ CALL [1/2]

#define CALL ( feat_t,
out_t,
index_t,
kernel_index_t,
fn )
Value:
if (CompareTorchDtype<feat_t>(feat_dtype) && \
CompareTorchDtype<index_t>(index_dtype) && \
CompareTorchDtype<kernel_index_t>(kernel_index_dtype)) { \
fn<feat_t, out_t, index_t, kernel_index_t>(FN_PARAMETERS); \
return out_features; \
}
#define FN_PARAMETERS
bool CompareTorchDtype(const TDtype &t)
Definition TorchHelper.h:90

◆ CALL [2/2]

#define CALL ( feat_t,
out_t,
index_t,
kernel_index_t,
fn_suffix )

◆ FN_PARAMETERS

#define FN_PARAMETERS
Value:
filters, inp_features, inp_importance, neighbors_index, \
neighbors_kernel_index, neighbors_importance, \
neighbors_row_splits, normalize, max_temp_mem_MB, out_features

Function Documentation

◆ SparseConv()

torch::Tensor SparseConv ( const torch::Tensor & filters,
const torch::Tensor & inp_features,
const torch::Tensor & inp_importance,
const torch::Tensor & neighbors_index,
const torch::Tensor & neighbors_kernel_index,
const torch::Tensor & neighbors_importance,
const torch::Tensor & neighbors_row_splits,
const bool normalize,
const int64_t max_temp_mem_MB )