(func_graph)
| 423 | |
| 424 | |
| 425 | def _Captures(func_graph): |
| 426 | if isinstance(func_graph, FuncGraph): |
| 427 | return func_graph.captures |
| 428 | else: |
| 429 | assert isinstance(func_graph, framework_function._FuncGraph) # pylint: disable=protected-access |
| 430 | return func_graph._captured.items() # pylint: disable=protected-access |
| 431 | |
| 432 | |
| 433 | def _MaybeCaptured(t): |
no outgoing calls
no test coverage detected