A minimalistic class that reference a Tensor.
More...
#include <Indexer.h>
A minimalistic class that reference a Tensor.
◆ TensorRef() [1/2]
open3d::core::TensorRef::TensorRef |
( |
| ) |
|
|
inline |
◆ TensorRef() [2/2]
open3d::core::TensorRef::TensorRef |
( |
const Tensor & |
t | ) |
|
|
inline |
◆ IsContiguous()
bool open3d::core::TensorRef::IsContiguous |
( |
| ) |
const |
|
inline |
Returns True if the underlying memory buffer is contiguous.
◆ operator!=()
bool open3d::core::TensorRef::operator!= |
( |
const TensorRef & |
other | ) |
const |
|
inline |
◆ operator==()
bool open3d::core::TensorRef::operator== |
( |
const TensorRef & |
other | ) |
const |
|
inline |
◆ Permute()
void open3d::core::TensorRef::Permute |
( |
const SizeVector & |
dims | ) |
|
|
inline |
Permute (dimension shuffle) the reference to a Tensor.
- Parameters
-
dims | The desired ordering of dimensions. |
Note: This only affects this Tensor reference, but not the underlying Tensor.
◆ byte_strides_
int64_t open3d::core::TensorRef::byte_strides_[MAX_DIMS] |
◆ data_ptr_
void* open3d::core::TensorRef::data_ptr_ |
◆ dtype_byte_size_
int64_t open3d::core::TensorRef::dtype_byte_size_ = 0 |
◆ ndims_
int64_t open3d::core::TensorRef::ndims_ = 0 |
◆ shape_
int64_t open3d::core::TensorRef::shape_[MAX_DIMS] |
The documentation for this struct was generated from the following file: