96 template <
class TFeat,
class TReal,
class TIndex>
103 const TReal*
const __restrict__ out_positions,
105 const TReal*
const __restrict__ inp_positions,
106 const TFeat*
const __restrict__ inp_features,
107 const TFeat*
const __restrict__ inp_importance,
108 size_t neighbors_index_size,
109 const TIndex*
const __restrict__ neighbors_index,
110 const TFeat*
const __restrict__ neighbors_importance,
111 const int64_t*
const __restrict__ neighbors_row_splits,
112 const TReal*
const __restrict__ extents,
113 const TReal*
const __restrict__ offsets,
114 const std::vector<int>& filter_dims,
118 bool individual_extent,
119 bool isotropic_extent,
122 template <
class TFeat,
class TReal,
class TIndex>
124 const cudaStream_t& stream,
130 const TReal*
const __restrict__ out_positions,
132 const TReal*
const __restrict__ inp_positions,
133 const TFeat*
const __restrict__ inp_features,
134 const TFeat*
const __restrict__ inp_neighbors_importance_sum,
135 const int64_t*
const __restrict__ inp_neighbors_prefix_sum,
136 size_t neighbors_index_size,
137 const TIndex*
const __restrict__ neighbors_index,
138 const TFeat*
const __restrict__ neighbors_importance,
139 const int64_t*
const __restrict__ neighbors_row_splits,
140 const TReal*
const __restrict__ extents,
141 const TReal*
const __restrict__ offsets,
142 const std::vector<int>& filter_dims,
146 bool individual_extent,
147 bool isotropic_extent,
161 T* __restrict__ col_major_matrix,
162 const T*
const __restrict__ vector);
177 T* __restrict__ out_ptr,
178 const T*
const __restrict__ col_major_matrix,
179 const T*
const __restrict__ vector);
InterpolationMode
Definition: ContinuousConvTypes.h:18
void MultiplyAndCopyColumns(const cudaStream_t &stream, size_t rows, size_t cols, T *__restrict__ out_ptr, const T *const __restrict__ col_major_matrix, const T *const __restrict__ vector)
void FillColumnTranspose(const cudaStream_t &stream, TFeat *columns, int in_channels, TIndex begin_idx, TIndex end_idx, TIndex num_out, const TReal *const __restrict__ out_positions, TIndex num_inp, const TReal *const __restrict__ inp_positions, const TFeat *const __restrict__ inp_features, const TFeat *const __restrict__ inp_neighbors_importance_sum, const int64_t *const __restrict__ inp_neighbors_prefix_sum, size_t neighbors_index_size, const TIndex *const __restrict__ neighbors_index, const TFeat *const __restrict__ neighbors_importance, const int64_t *const __restrict__ neighbors_row_splits, const TReal *const __restrict__ extents, const TReal *const __restrict__ offsets, const std::vector< int > &filter_dims, InterpolationMode interpolation, CoordinateMapping coordinate_mapping, bool align_corners, bool individual_extent, bool isotropic_extent, bool normalize)
void MultiplyColumns(const cudaStream_t &stream, size_t rows, size_t cols, T *__restrict__ col_major_matrix, const T *const __restrict__ vector)
CoordinateMapping
Definition: ContinuousConvTypes.h:26
void FillColumn(const cudaStream_t &stream, TFeat *columns, int in_channels, TIndex begin_idx, TIndex end_idx, TIndex num_out, const TReal *const __restrict__ out_positions, TIndex num_inp, const TReal *const __restrict__ inp_positions, const TFeat *const __restrict__ inp_features, const TFeat *const __restrict__ inp_importance, size_t neighbors_index_size, const TIndex *const __restrict__ neighbors_index, const TFeat *const __restrict__ neighbors_importance, const int64_t *const __restrict__ neighbors_row_splits, const TReal *const __restrict__ extents, const TReal *const __restrict__ offsets, const std::vector< int > &filter_dims, InterpolationMode interpolation, CoordinateMapping coordinate_mapping, bool align_corners, bool individual_extent, bool isotropic_extent, bool normalize)
Definition: PinholeCameraIntrinsic.cpp:16