Home
last modified time | relevance | path

Searched refs:trainable_state (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_v1.py2109 trainable_state = {self: self.trainable}
2111 trainable_state.update(l._get_trainable_state())
2112 return trainable_state
2114 def _set_trainable_state(self, trainable_state): argument
2116 if self in trainable_state:
2117 self.trainable = trainable_state[self]
2120 if l in trainable_state:
2121 l._set_trainable_state(trainable_state)
Dbase_layer.py2758 trainable_state = weakref.WeakKeyDictionary()
2760 trainable_state[layer] = layer.trainable
2761 return trainable_state
2763 def _set_trainable_state(self, trainable_state): argument
2766 if layer in trainable_state:
2767 layer.trainable = trainable_state[layer]