|
Open3D (C++ API)
0.19.0
|
A minimalistic class that reference a Tensor. More...
#include <Indexer.h>
Public Member Functions | |
| TensorRef () | |
| TensorRef (const Tensor &t) | |
| void | Permute (const SizeVector &dims) |
| Permute (dimension shuffle) the reference to a Tensor. | |
| bool | IsContiguous () const |
| Returns True if the underlying memory buffer is contiguous. | |
| bool | operator== (const TensorRef &other) const |
| bool | operator!= (const TensorRef &other) const |
Data Fields | |
| void * | data_ptr_ |
| int64_t | ndims_ = 0 |
| int64_t | dtype_byte_size_ = 0 |
| int64_t | shape_ [MAX_DIMS] |
| int64_t | byte_strides_ [MAX_DIMS] |
A minimalistic class that reference a Tensor.
|
inline |
|
inline |
|
inline |
Returns True if the underlying memory buffer is contiguous.
|
inline |
|
inline |
|
inline |
| int64_t open3d::core::TensorRef::byte_strides_[MAX_DIMS] |
| void* open3d::core::TensorRef::data_ptr_ |
| int64_t open3d::core::TensorRef::dtype_byte_size_ = 0 |
| int64_t open3d::core::TensorRef::ndims_ = 0 |
| int64_t open3d::core::TensorRef::shape_[MAX_DIMS] |