Import OrderedDict from theano