![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include "pybind/core/tensor_converter.h"#include <Logging.h>#include "core/Tensor.h"#include "pybind/cloudViewer_pybind.h"#include "pybind/core/core.h"#include "pybind/pybind_utils.h"
Go to the source code of this file.
Namespaces | |
| cloudViewer | |
| Generic file read and write utility for python interface. | |
| cloudViewer::core | |
Functions | |
| static Tensor | cloudViewer::core::CastOptionalDtypeDevice (const Tensor &t, utility::optional< Dtype > dtype, utility::optional< Device > device) |
| py::array | cloudViewer::core::TensorToPyArray (const Tensor &tensor) |
| Convert Tensor class to py::array (Numpy array). More... | |
| Tensor | cloudViewer::core::PyArrayToTensor (py::array array, bool inplace) |
| Tensor | cloudViewer::core::PyListToTensor (const py::list &list, utility::optional< Dtype > dtype, utility::optional< Device > device) |
| Tensor | cloudViewer::core::PyTupleToTensor (const py::tuple &tuple, utility::optional< Dtype > dtype, utility::optional< Device > device) |
| Tensor | cloudViewer::core::DoubleToTensor (double scalar_value, utility::optional< Dtype > dtype, utility::optional< Device > device) |
| Tensor | cloudViewer::core::IntToTensor (int64_t scalar_value, utility::optional< Dtype > dtype, utility::optional< Device > device) |
| Tensor | cloudViewer::core::BoolToTensor (bool scalar_value, utility::optional< Dtype > dtype, utility::optional< Device > device) |
| Tensor | cloudViewer::core::PyHandleToTensor (const py::handle &handle, utility::optional< Dtype > dtype, utility::optional< Device > device, bool force_copy) |