Data Structures | |
struct | Tensor |
struct | TensorData |
Enumerations | |
enum | DataType : int { DataType::None = 0, DataType::Int32 = 1, DataType::Float16 = 2, DataType::Float32 = 3, DataType::Int64 = 4, DataType::UInt64 = 5, DataType::UInt32 = 6, DataType::Int8 = 7, DataType::UInt8 = 8, DataType::UInt16 = 9, DataType::Int16 = 10 } |
Functions | |
static std::string | format (const char *fmt,...) |
const char * | dtype_string (DataType dtype) |
size_t | dtype_bytes (DataType dtype) |
template<typename _T > | |
std::string | format_shape (const std::vector< _T > &shape) |
|
strong |
Enumerator | |
---|---|
None | |
Int32 | |
Float16 | |
Float32 | |
Int64 | |
UInt64 | |
UInt32 | |
Int8 | |
UInt8 | |
UInt16 | |
Int16 |
Definition at line 34 of file sources/libs/ds3d/inference_custom_lib/ds3d_v2x_infer_custom_preprocess/tensor.hpp.
size_t ds3d::v2xinfer::dtype_bytes | ( | DataType | dtype | ) |
const char* ds3d::v2xinfer::dtype_string | ( | DataType | dtype | ) |
|
inlinestatic |
Definition at line 26 of file sources/libs/ds3d/inference_custom_lib/ds3d_v2x_infer_custom_preprocess/tensor.hpp.
Referenced by deepstream::FileDataSource::read().
std::string ds3d::v2xinfer::format_shape | ( | const std::vector< _T > & | shape | ) |