aboutsummaryrefslogtreecommitdiff
path: root/model/rnn_direct.py
diff options
context:
space:
mode:
Diffstat (limited to 'model/rnn_direct.py')
-rw-r--r--model/rnn_direct.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/model/rnn_direct.py b/model/rnn_direct.py
new file mode 100644
index 0000000..8123327
--- /dev/null
+++ b/model/rnn_direct.py
@@ -0,0 +1,13 @@
+from blocks.bricks.base import lazy
+
+from model.rnn import RNN, Stream
+import data
+
+
+class Model(RNN):
+ @lazy()
+ def __init__(self, config, **kwargs):
+ super(Model, self).__init__(config, **kwargs)
+
+ def process_rto(self, rto):
+ return (rto * data.train_gps_std) + data.train_gps_mean