Open3D (C++ API)  0.17.0
Data Structures | Macros | Functions
ContinuousConvOps.cpp File Reference

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

#include <vector>
#include "open3d/ml/pytorch/TorchHelper.h"
#include "open3d/ml/pytorch/continuous_conv/ContinuousConvBackpropFilterOpKernel.h"
#include "open3d/ml/pytorch/continuous_conv/ContinuousConvHelper.h"
#include "open3d/ml/pytorch/continuous_conv/ContinuousConvOpKernel.h"
#include "open3d/ml/pytorch/continuous_conv/ContinuousConvTransposeOpKernel.h"
#include "open3d/ml/pytorch/misc/InvertNeighborsListOps.h"
#include "open3d/ml/pytorch/misc/ReduceSubarraysSumOps.h"
#include "torch/script.h"

Data Structures

class  ContinuousConvFunction
 

Macros

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

Functions

torch::Tensor ContinuousConv (const torch::Tensor &filters, const torch::Tensor &out_positions, const torch::Tensor &extents, const torch::Tensor &offset, const torch::Tensor &inp_positions, const torch::Tensor &inp_features, const torch::Tensor &inp_importance, const torch::Tensor &neighbors_index, const torch::Tensor &neighbors_importance, const torch::Tensor &neighbors_row_splits, const bool align_corners, const std::string &coordinate_mapping_str, const bool normalize, const std::string &interpolation_str, const int64_t max_temp_mem_MB)
 

Macro Definition Documentation

◆ CALL [1/2]

#define CALL (   feat_t,
  out_t,
  real_t,
  index_t,
  fn 
)
Value:
if (CompareTorchDtype<feat_t>(feat_dtype) && \
CompareTorchDtype<real_t>(real_dtype) && \
CompareTorchDtype<index_t>(index_dtype)) { \
fn<feat_t, out_t, real_t, index_t>(FN_PARAMETERS); \
return out_features; \
}
#define FN_PARAMETERS

◆ CALL [2/2]

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

◆ FN_PARAMETERS

#define FN_PARAMETERS
Value:
filters, out_positions, extents, offset, inp_positions, inp_features, \
inp_importance, neighbors_index, neighbors_importance, \
neighbors_row_splits, align_corners, coordinate_mapping, \
normalize, interpolation, max_temp_mem_MB, out_features
int offset
Definition: FilePCD.cpp:45

Function Documentation

◆ ContinuousConv()

torch::Tensor ContinuousConv ( const torch::Tensor &  filters,
const torch::Tensor &  out_positions,
const torch::Tensor &  extents,
const torch::Tensor &  offset,
const torch::Tensor &  inp_positions,
const torch::Tensor &  inp_features,
const torch::Tensor &  inp_importance,
const torch::Tensor &  neighbors_index,
const torch::Tensor &  neighbors_importance,
const torch::Tensor &  neighbors_row_splits,
const bool  align_corners,
const std::string &  coordinate_mapping_str,
const bool  normalize,
const std::string &  interpolation_str,
const int64_t  max_temp_mem_MB 
)