Go to the source code of this file.
Data Structures | |
| class | TensorWrapper |
Enumerations | |
| enum | ColorFormat { ColorFormat::RGB = NVBUF_COLOR_FORMAT_RGB, ColorFormat::RGBA = NVBUF_COLOR_FORMAT_RGBA, ColorFormat::I420 = NVBUF_COLOR_FORMAT_YUV420, ColorFormat::RGB = NVBUF_COLOR_FORMAT_RGB, ColorFormat::RGBA = NVBUF_COLOR_FORMAT_RGBA, ColorFormat::I420 = NVBUF_COLOR_FORMAT_YUV420 } |
Functions | |
| template<typename T > | |
| void | print_nd_summary (const void *base, const std::vector< uint64_t > &shape, const std::vector< int64_t > &strides, size_t dim=0, ssize_t offset=0) |
| void | module_tensor_bind (py::module &m) |
|
strong |
| Enumerator | |
|---|---|
| RGB | |
| RGBA | |
| I420 | |
| RGB | |
| RGBA | |
| I420 | |
Definition at line 37 of file service-maker/sources/python/src/bindings/tensor.h.
| void module_tensor_bind | ( | py::module & | m | ) |
Definition at line 306 of file service-maker/sources/python/src/bindings/tensor.h.
References pydeepstreamdoc::tensor::TensorDoc::as_tensor, pydeepstreamdoc::tensor::TensorDoc::clone, TensorWrapper::clone(), data, pydeepstreamdoc::tensor::ColorFormatDoc::descr, pydeepstreamdoc::tensor::TensorDoc::descr, TensorWrapper::deviceType(), pydeepstreamdoc::tensor::TensorDoc::dlpack, TensorWrapper::dlpack(), pydeepstreamdoc::tensor::TensorDoc::dlpack_device, TensorWrapper::dlpackDevice(), TensorWrapper::dtype(), ds3d::v2xinfer::format(), I420, RGB, RGBA, TensorWrapper::shape(), pydeepstreamdoc::tensor::TensorDoc::size, TensorWrapper::size(), TensorWrapper::strides(), pydeepstreamdoc::tensor::TensorDoc::to_gpu, TensorWrapper::toGPU(), pydeepstreamdoc::tensor::TensorDoc::wrap, and TensorWrapper::wrap().
| void print_nd_summary | ( | const void * | base, |
| const std::vector< uint64_t > & | shape, | ||
| const std::vector< int64_t > & | strides, | ||
| size_t | dim = 0, |
||
| ssize_t | offset = 0 |
||
| ) |
Definition at line 278 of file service-maker/sources/python/src/bindings/tensor.h.