Definition at line 43 of file service-maker/sources/python/src/bindings/tensor.h.
Public Member Functions | |
| TensorWrapper () | |
| TensorWrapper (Tensor *tensor) | |
| TensorWrapper (py::object object, std::string format) | |
| std::vector< uint64_t > | shape_vec () const |
| std::vector< int64_t > | strides_vec () const |
| py::tuple | shape () const |
| py::tuple | strides () const |
| Tensor::DataType | c_dtype () const |
| py::dtype | dtype () const |
| py::capsule | dlpack (PyObject *py_object_ptr, py::object stream) |
| std::pair< int, int > | dlpackDevice () const |
| Buffer | wrap (ColorFormat format) |
| TensorWrapper * | clone () const |
| Tensor * | release () |
| uint64_t | size () const |
| TensorWrapper * | toGPU (unsigned int device_id) const |
| std::string | deviceType () const |
| void * | data () const |
| bool | hasTensor () const |
| TensorWrapper () | |
| TensorWrapper (Tensor *tensor) | |
| TensorWrapper (py::object object, std::string format) | |
| std::vector< uint64_t > | shape_vec () const |
| std::vector< int64_t > | strides_vec () const |
| py::tuple | shape () const |
| py::tuple | strides () const |
| Tensor::DataType | c_dtype () const |
| py::dtype | dtype () const |
| py::capsule | dlpack (PyObject *py_object_ptr, py::object stream) |
| std::pair< int, int > | dlpackDevice () const |
| Buffer | wrap (ColorFormat format) |
| TensorWrapper * | clone () const |
| Tensor * | release () |
| uint64_t | size () const |
| TensorWrapper * | toGPU (unsigned int device_id) const |
| std::string | deviceType () const |
| void * | data () const |
| bool | hasTensor () const |
Protected Attributes | |
| unique_ptr< Tensor > | tensor_ |
|
inline |
Definition at line 45 of file service-maker/sources/python/src/bindings/tensor.h.
|
inlineexplicit |
Definition at line 47 of file service-maker/sources/python/src/bindings/tensor.h.
|
inlineexplicit |
Definition at line 51 of file service-maker/sources/python/src/bindings/tensor.h.
References pydeepstreamdoc::tensor::TensorDoc::dlpack_device, dtype(), FLOAT, ds3d::v2xinfer::format(), NONE, and tensor_.
|
inline |
Definition at line 45 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inlineexplicit |
Definition at line 47 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inlineexplicit |
Definition at line 51 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
References pydeepstreamdoc::tensor::TensorDoc::dlpack_device, dtype(), FLOAT, ds3d::v2xinfer::format(), NONE, and tensor_.
|
inline |
Definition at line 136 of file service-maker/sources/python/src/bindings/tensor.h.
References tensor_.
|
inline |
Definition at line 136 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
References tensor_.
|
inline |
Definition at line 230 of file service-maker/sources/python/src/bindings/tensor.h.
Referenced by module_tensor_bind().
|
inline |
Definition at line 230 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 267 of file service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 267 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 258 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 258 of file service-maker/sources/python/src/bindings/tensor.h.
Referenced by module_tensor_bind().
|
inline |
Definition at line 160 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 160 of file service-maker/sources/python/src/bindings/tensor.h.
References dtype(), FLOAT, and tensor_.
Referenced by module_tensor_bind().
|
inline |
Definition at line 218 of file service-maker/sources/python/src/bindings/tensor.h.
Referenced by module_tensor_bind().
|
inline |
Definition at line 218 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 140 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 140 of file service-maker/sources/python/src/bindings/tensor.h.
References FLOAT, and tensor_.
Referenced by dlpack(), dtype(), module_tensor_bind(), and TensorWrapper().
|
inline |
Definition at line 271 of file service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 271 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 238 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
References Tensor::release().
|
inline |
Definition at line 238 of file service-maker/sources/python/src/bindings/tensor.h.
References Tensor::release().
Referenced by module_metadata_bind().
|
inline |
Definition at line 117 of file service-maker/sources/python/src/bindings/tensor.h.
References tensor_.
Referenced by module_tensor_bind(), and shape().
|
inline |
Definition at line 117 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 105 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
References tensor_.
|
inline |
Definition at line 105 of file service-maker/sources/python/src/bindings/tensor.h.
References tensor_.
|
inline |
Definition at line 242 of file service-maker/sources/python/src/bindings/tensor.h.
Referenced by module_tensor_bind().
|
inline |
Definition at line 242 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 127 of file service-maker/sources/python/src/bindings/tensor.h.
References tensor_.
Referenced by module_tensor_bind(), strides(), and strides_vec().
|
inline |
Definition at line 127 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 109 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 109 of file service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 250 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
|
inline |
Definition at line 250 of file service-maker/sources/python/src/bindings/tensor.h.
Referenced by module_tensor_bind().
|
inline |
Definition at line 222 of file service-maker/sources/python/src/bindings/tensor.h.
References ds3d::v2xinfer::format().
Referenced by module_tensor_bind().
|
inline |
Definition at line 222 of file 9.2/service-maker/sources/python/src/bindings/tensor.h.
References ds3d::v2xinfer::format().
|
protected |
Definition at line 274 of file service-maker/sources/python/src/bindings/tensor.h.
Referenced by c_dtype(), dlpack(), dtype(), shape(), shape_vec(), strides(), strides_vec(), and TensorWrapper().