def feed_forward(self, x, **kwargs):
        regs = regularizers.from_kwargs(self, **kwargs)
        key = self._hash(regs)
        if key not in self._functions:
            outputs, updates = self.build_graph(regs)
            labels, exprs = list(outputs.keys()), list(outputs.values())
            logging.info('compiling feed_forward function')
            self._functions[key] = (labels, theano.function(
                self.inputs, exprs, updates=updates))
        labels, f = self._functions[key]
        return dict(zip(labels, f(x)))
Compute a forward pass of all layers from the given input.
dataset/ETHPy150Open lmjohns3/theanets/theanets/graph.py/Network.feed_forward