Open3D (C++ API)
0.18.0
|
#include <AdvancedIndexing.h>
Public Types | |
enum class | AdvancedIndexerMode { SET , GET } |
Public Member Functions | |
AdvancedIndexer (const Tensor &src, const Tensor &dst, const std::vector< Tensor > &index_tensors, const SizeVector &indexed_shape, const SizeVector &indexed_strides, AdvancedIndexerMode mode) | |
OPEN3D_HOST_DEVICE char * | GetInputPtr (int64_t workload_idx) const |
OPEN3D_HOST_DEVICE char * | GetOutputPtr (int64_t workload_idx) const |
OPEN3D_HOST_DEVICE int64_t | GetIndexedOffset (int64_t workload_idx) const |
int64_t | NumWorkloads () const |
Protected Attributes | |
Indexer | indexer_ |
AdvancedIndexerMode | mode_ |
int64_t | num_indices_ |
int64_t | element_byte_size_ |
int64_t | indexed_shape_ [MAX_DIMS] |
int64_t | indexed_strides_ [MAX_DIMS] |
AdvancedIndexer exposes an interface similar to Indexer, with support for advanced indexing.
In particular, AdvancedIndexer contains an Indexer instance to iterate src, dst and index tensors. AdvancedIndexer also contains various properties for advanced indexing.
To construct AdvancedIndexer, one must use the tensors and index tensors preprocessed by AdvancedIndexPreprocessor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |