Searched refs:ancillary_layers (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/keras/ |
D | models.py | 64 def _insert_ancillary_layers(model, ancillary_layers, metrics_names, new_nodes): argument 68 layer for layer in ancillary_layers if isinstance(layer, AddMetric) 71 ancillary_layers = [ 72 layer for layer in ancillary_layers if not isinstance(layer, AddMetric) 74 model._insert_layers(ancillary_layers, relevant_nodes=list(new_nodes)) 206 ancillary_layers = [ 211 if ancillary_layers: 217 _insert_ancillary_layers(model, ancillary_layers, metrics_names, new_nodes) 269 ancillary_layers = [] # Additional layers for computing losses and metrics. 271 return layers, ancillary_layers [all …]
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | functional.py | 1109 ancillary_layers = [ 1112 if ancillary_layers: 1118 model._insert_layers(ancillary_layers, relevant_nodes)
|