scan – Looping in PyTensor — PyTensor dev documentation