()
| 1882 | # but they do all import this file. Note that IS_IN_GRAPH_MODE and |
| 1883 | # in_graph_mode are both parameterless functions. |
| 1884 | def _tmp_in_graph_mode(): |
| 1885 | if context_safe() is None: |
| 1886 | # Context not yet initialized. Assume graph mode following the |
| 1887 | # default implementation in `is_in_graph_mode`. |
| 1888 | return True |
| 1889 | return not executing_eagerly() |
| 1890 | |
| 1891 | |
| 1892 | is_in_graph_mode.IS_IN_GRAPH_MODE = _tmp_in_graph_mode |
nothing calls this directly
no test coverage detected