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

(1a9653d6 (Mon Sep 21 12:34:47 2020 +0200))

#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(real_t, index_t, fn)
 
#define CALL(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 (   real_t,
  index_t,
  fn 
)
Value:
if (CompareTorchDtype<real_t>(real_dtype) && \
CompareTorchDtype<index_t>(index_dtype)) { \
fn<real_t, index_t>(FN_PARAMETERS); \
return out_features; \
}
#define FN_PARAMETERS

◆ CALL [2/2]

#define CALL (   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:64

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 
)