def get_regularizable_vars(self):
    'Get regularizable weight variables under the Policy scope.'
    trainable = self.get_trainable_vars()
    return [var for var in trainable if (('hidden' in var.name) and ('kernel' in var.name))]
Get regularizable weight variables under the Policy scope.
def get_regularizable_vars(self):
    
    trainable = self.get_trainable_vars()
    return [var for var in trainable if (('hidden' in var.name) and ('kernel' in var.name))]