Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
100
void 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.cpp
File · 0.85
infer_shapes
Function · 0.85
pyCore.cpp
File · 0.85
Calls
1
data
Method · 0.45
Tested by
no test coverage detected