parameters: (self, name)
return_statement: return self._weights.get((name, graph_key), None)
docstring: From Trackable. Find a weight in the current graph.
docstring_summary: From Trackable. Find a weight in the current graph.
docstring_tokens: From Trackable . Find a weight in the current graph .
function: def _lookup_dependency(self, name):
      """From Trackable. Find a weight in the current graph."""
      unconditional = super(_DynamicLossScaleState, self)._lookup_dependency(name)
      if unconditional is not None:
        return unconditional
      if context.executing_eagerly():
        graph_key = None
      else:
        graph = ops.get_default_graph()
        graph_key = graph._graph_key  # pylint: disable=protected-access
      return self._weights.get((name, graph_key), None)
function_tokens: def _lookup_dependency ( self , name ) : unconditional = super ( _DynamicLossScaleState , self ) . _lookup_dependency ( name ) if unconditional is not None : return unconditional if context . executing_eagerly ( ) : graph_key = None else : graph = ops . get_default_graph ( ) graph_key = graph . _graph_key # pylint: disable=protected-access return self . _weights . get ( ( name , graph_key ) , None )