Tensor

This file describes the design of theano.tensor.

Elemwise grad and R_op

Here’s another straightforward example, though a bit more elaborate than adding two numbers together. Let’s say that you want to compute the logistic curve, which is given by:

s(x) = \frac{1}{1 + e^{-x}}