(self, *args, **kwargs)
| 156 | )) |
| 157 | |
| 158 | def __init__(self, *args, **kwargs): # pylint: disable=super-init-not-called |
| 159 | # Signature detection |
| 160 | if (len(args) == 2 or |
| 161 | len(args) == 1 and 'outputs' in kwargs or |
| 162 | 'inputs' in kwargs and 'outputs' in kwargs): |
| 163 | # Graph network |
| 164 | self._init_graph_network(*args, **kwargs) |
| 165 | else: |
| 166 | # Subclassed network |
| 167 | self._init_subclassed_network(**kwargs) |
| 168 | |
| 169 | tf_utils.assert_no_legacy_layers(self.layers) |
| 170 | |
| 171 | # Several Network methods have "no_automatic_dependency_tracking" |
| 172 | # annotations. Since Network does automatic dependency tracking on attribute |
nothing calls this directly
no test coverage detected