Tips

    It is usually not useful to define Ops that can be easilyimplemented using other already existing Ops. For example, instead ofwriting a “sum_square_difference” Op, you should probably just write asimple function:

    Theano provides some generic Op classes which allow you to generate alot of Ops at a lesser effort. For instance, Elemwise can be used tomake elementwise operations easily whereas DimShuffle can beused to make transpose-like transformations. These higher order Opsare mostly Tensor-related, as this is Theano’s specialty.

    WRITEME