MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / check_exception

Method check_exception

imperative/src/impl/transformations/lazy.cpp:260–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260void LazyEvalTransformation::check_exception() {
261 if (m_graph_exc) {
262 std::rethrow_exception(m_graph_exc);
263 }
264}
265
266} // namespace imperative
267} // namespace mgb

Callers 1

exitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected