Determines op naming for the Layer.
(self)
| 297 | ops.GraphKeys.REGULARIZATION_LOSSES) |
| 298 | |
| 299 | def _name_scope(self): |
| 300 | """Determines op naming for the Layer.""" |
| 301 | if self._keras_style: |
| 302 | return super(Layer, self)._name_scope() |
| 303 | return self._current_scope.original_name_scope |
| 304 | |
| 305 | def _set_scope(self, scope=None): |
| 306 | if self._scope is None: |