Unload a graph. Args: graph (:class:`GraphDAGNode`): The graph to unload. Returns: An op to unload the `graph`.
(graph)
| 759 | |
| 760 | |
| 761 | def unload_graph(graph): |
| 762 | """Unload a graph. |
| 763 | |
| 764 | Args: |
| 765 | graph (:class:`GraphDAGNode`): The graph to unload. |
| 766 | |
| 767 | Returns: |
| 768 | An op to unload the `graph`. |
| 769 | """ |
| 770 | return create_unload_op(graph.session_id, types_pb2.UNLOAD_GRAPH, [graph.op]) |
| 771 | |
| 772 | |
| 773 | def unload_context(context): |
nothing calls this directly
no test coverage detected