I eventually went the route of just converting to another type that was serializable.

On Fri, Jan 13, 2023 at 4:24 PM Kenneth Adam Miller <kennethadammiller@gmail.com> wrote:
Hello,


I would like to serialize this type: (float, Bigarray.float64_elt) Dense.Ndarray.Generic.t
So far, I am hitting an error because the deriving bin_io says there are missing callbacks bin_io. I can work around it, but I prefer not to. 

I'm not sure how to serialize this, has anyone else tried or do they have any techniques that allow to enable deriving bin_io on it?