NVIDIA Holoscan SDK v.2.1.0
v2.1.0

Function holoscan::numpy_dtype

const char *holoscan::numpy_dtype(const DLDataType dtype)

Return a string providing the basic type of the homogeneous array in NumPy.

Note: This method assumes little-endian for now.

Returns

A const character pointer that represents a string

Previous Template Function holoscan::make_unexpected
Next Template Function holoscan::serialize_binary_blob
© Copyright 2022-2024, NVIDIA. Last updated on Jul 3, 2024.