MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _name_scope

Method _name_scope

tensorflow/python/layers/base.py:299–303  ·  view source on GitHub ↗

Determines op naming for the Layer.

(self)

Source from the content-addressed store, hash-verified

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:

Callers 1

add_weightMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected