(arbitrary_graph)
| 950 | |
| 951 | |
| 952 | def _serialize_graph(arbitrary_graph): |
| 953 | if isinstance(arbitrary_graph, ops.Graph): |
| 954 | return arbitrary_graph.as_graph_def(add_shapes=True).SerializeToString() |
| 955 | else: |
| 956 | return arbitrary_graph.SerializeToString() |
| 957 | |
| 958 | |
| 959 | def _choose_step(step): |
no test coverage detected