Exemplo n.º 1
0
 def _do_layer_adaptation(self, w):
     return (not string_matching(w.name,
                                 self.exclude_from_layer_adaptation))
Exemplo n.º 2
0
 def _do_lazy_optimization(self, w):
     return string_matching(w.name, self.include_in_lazy_optimization)
Exemplo n.º 3
0
 def _do_weight_decay(self, w):
     return (not string_matching(w.name,
                                 self.exclude_from_weight_decay))