blob: 81b33bdc894286beb17dc687db12f68caa7434c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from blocks.bricks.base import lazy
from model.bidirectional import BidiRNN, Stream
import data
class Model(BidiRNN):
@lazy()
def __init__(self, config, **kwargs):
super(Model, self).__init__(config, **kwargs)
def process_outputs(self, outputs):
return (outputs * data.train_gps_std) + data.train_gps_mean
|