(self, inputs)
| 2171 | self._initial_weights = None |
| 2172 | |
| 2173 | def _symbolic_call(self, inputs): |
| 2174 | input_shapes = nest.map_structure(lambda x: x.shape, inputs) |
| 2175 | output_shapes = self.compute_output_shape(input_shapes) |
| 2176 | |
| 2177 | def _make_placeholder_like(shape): |
| 2178 | ph = backend.placeholder(shape=shape, dtype=self.dtype) |
| 2179 | ph._keras_mask = None |
| 2180 | return ph |
| 2181 | |
| 2182 | return nest.map_structure(_make_placeholder_like, output_shapes) |
| 2183 | |
| 2184 | def _get_trainable_state(self): |
| 2185 | """Get the `trainable` state of each sublayer. |
no test coverage detected