MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / throwPyError

Function throwPyError

python/src/utils.cpp:100–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void throwPyError(PyObject* type, std::string const& message)
101{
102 PyErr_SetString(type, message.data());
103 throw py::error_already_set();
104}
105
106} // namespace utils
107} // namespace tensorrt

Callers 3

pyOnnx.cppFile · 0.85
infer_shapesFunction · 0.85
pyCore.cppFile · 0.85

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected