Home
last modified time | relevance | path

Searched refs:ContextValueCache (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/keras/layers/
Drecurrent.py1135 self._dropout_mask_cache = K.ContextValueCache(self._create_dropout_mask)
1136 self._recurrent_dropout_mask_cache = K.ContextValueCache(
1226 state['_dropout_mask_cache'] = K.ContextValueCache(
1228 state['_recurrent_dropout_mask_cache'] = K.ContextValueCache(
/external/tensorflow/tensorflow/python/keras/
Dbackend.py6600 class ContextValueCache(weakref.WeakKeyDictionary): class
6714 _GRAPH_LEARNING_PHASES = ContextValueCache(_default_learning_phase)
6718 _GRAPH_VARIABLES = ContextValueCache(object_identity.ObjectIdentityWeakSet)
6722 _GRAPH_TF_OPTIMIZERS = ContextValueCache(object_identity.ObjectIdentityWeakSet)
Dbackend_test.py2230 cache = backend.ContextValueCache(list)
2257 cache = backend.ContextValueCache(int)