Using a trained neural network model in a fortran code

Have you tried editing as required line 10

link = ["hdf5", "hdf5_fortran"]

of fpm.toml?