Open3D (C++ API)  0.18.0+252c867
Macros | Functions
SparseConvOpKernel.cpp File Reference

(252c867 (Sun May 5 05:39:34 2024 +0000))

#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 
)