aesara-devs / aehmc

An HMC/NUTS implementation in Aesara

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update step size dtypes

brandonwillard opened this issue · comments

In #86, I updated the step size dtypes to int64, but I imagine it would be better to perform that conversion somewhere within AeHMC; however, I don't know the best place for that at the moment.

@rlouf, if you get a minute, tell me where you think an astype could be performed so that users can specify int32 and avoid those Scan casting issues.

Originally posted by @brandonwillard in #86 (comment)

As far as I understand, you cast the number of steps to int64. The high-level entry points of the library, and that you might want to use in a Scan are here:

It seems that you've covered the internal ones already.