

def grad(self, inputs, gout):
    (x,) = gout
    (gz,) = gout
    return [square_diagonal(gz)]

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py Diag.grad/VarMisuse@19/21 `inputs`->`gout`