[Edit] Trouble with "aesara.tensor.as_tensor_variable" when building custom fitting function

It looks like the package is quite under development. I updated it from github, and I have got the message for NotImplemented error. In the meantime, I switched back to theano.tensor, which looks more reliable