Open3D (C++ API)  0.17.0
Macros | Functions
SparseConvOpKernel.cpp File Reference

(9238339 (Tue Mar 14 18:49:09 2023 -0700))

#include <torch/script.h>
#include <vector>
#include "open3d/ml/impl/sparse_conv/SparseConv.h"

Macros

#define INSTANTIATE(TFeat, TOut, TIndex, TKernelIndex)
 

Functions

template<class TFeat , class TOut , class TIndex , class TKernelIndex >
void SparseConvCPU (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, torch::Tensor &out_features)
 

Macro Definition Documentation

◆ INSTANTIATE

#define INSTANTIATE (   TFeat,
  TOut,
  TIndex,
  TKernelIndex 
)
Value:
template void SparseConvCPU<TFeat, TOut, TIndex, TKernelIndex>( \
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, torch::Tensor& out_features);

Function Documentation

◆ SparseConvCPU()

template<class TFeat , class TOut , class TIndex , class TKernelIndex >
void SparseConvCPU ( 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,
torch::Tensor &  out_features 
)