(self, bound_app, graph, *args, **kwargs)
| 114 | """ |
| 115 | |
| 116 | def __init__(self, bound_app, graph, *args, **kwargs): |
| 117 | self._bound_app = bound_app |
| 118 | self._graph = graph |
| 119 | self._session = self._bound_app.session |
| 120 | # add op to dag |
| 121 | self._op = run_app(self._bound_app, *args, **kwargs) |
| 122 | self._session.dag.add_op(self._op) |
| 123 | |
| 124 | # statically create the unload op |
| 125 | self._unload_op = dag_utils.unload_context(self) |
| 126 | |
| 127 | def _check_selector(self, selector): |
| 128 | raise NotImplementedError() |