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

Function doNothingDel

python/include/utils.h:132–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131template <typename T>
132void doNothingDel(const T& self)
133{
134 issueDeprecationWarning("del obj");
135}
136
137// https://nvbugs/3479811 Create a wrapper for C++ to python throw
138void throwPyError(PyObject* type, std::string const& message = "python error");

Callers

nothing calls this directly

Calls 1

issueDeprecationWarningFunction · 0.85

Tested by

no test coverage detected