MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / ToFormatString

Function ToFormatString

python/mod_cvcuda/nvcv/ExternalBuffer.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49static std::string ToFormatString(const DLDataType &dtype)
50{
51 py::dtype dt = ToDType(ToNVCVDataType(dtype));
52 return dt.attr("str").cast<std::string>();
53}
54
55py::object ExternalBuffer::Create(DLPackTensor &&dlPackTensor, py::object wrappedObj)
56{

Callers 1

cudaArrayInterfaceMethod · 0.85

Calls 2

ToDTypeFunction · 0.70
ToNVCVDataTypeFunction · 0.70

Tested by

no test coverage detected