From 61cfc4ca78a70b8e04ca86651cf5a9c601f3dabb Mon Sep 17 00:00:00 2001 From: guillaume-chevalier Date: Mon, 17 Jul 2017 20:31:49 +0000 Subject: [PATCH] Sonnet's base AbstractModule now requires named arguments. See: https://github.com/deepmind/sonnet/commit/601c4f393037ea76c625d39c88d9d576f438c7ae --- networks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/networks.py b/networks.py index b588703..592cfbf 100644 --- a/networks.py +++ b/networks.py @@ -171,7 +171,7 @@ def __init__(self, output_size, layers, preprocess_name="identity", "zeros" will be converted to tf.zeros_initializer). name: Module name. """ - super(StandardDeepLSTM, self).__init__(name) + super(StandardDeepLSTM, self).__init__(name=name) self._output_size = output_size self._scale = scale @@ -318,7 +318,7 @@ def __init__(self, learning_rate=0.001, name="sgd"): learning_rate: constant learning rate to use. name: Module name. """ - super(Sgd, self).__init__(name) + super(Sgd, self).__init__(name=name) self._learning_rate = learning_rate def _build(self, inputs, _):