(
node,
graph_module,
tosa_graph: Optional[ts.TosaSerializer] = None,
path: Optional[str] = None,
)
| 67 | |
| 68 | |
| 69 | def debug_fail( |
| 70 | node, |
| 71 | graph_module, |
| 72 | tosa_graph: Optional[ts.TosaSerializer] = None, |
| 73 | path: Optional[str] = None, |
| 74 | ): |
| 75 | logger.warning("Internal error due to poorly handled node:") |
| 76 | if tosa_graph is not None and path: |
| 77 | debug_tosa_dump(tosa_graph.serialize(), path) |
| 78 | logger.warning(f"Debug output captured in '{path}'.") |
| 79 | debug_node(node, graph_module) |
no test coverage detected