(self)
| 103 | return cost |
| 104 | |
| 105 | def optimizer(self): |
| 106 | lr = tf.get_variable('learning_rate', initializer=2e-3, trainable=False) |
| 107 | opt = tf.train.AdamOptimizer(lr) |
| 108 | return optimizer.apply_grad_processors(opt, [GlobalNormClip(5)]) |
| 109 | |
| 110 | |
| 111 | def get_config(): |
nothing calls this directly
no test coverage detected