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