There is nothing in the movie that explicitly supports this.
(Spoilers ahead.) My take is that as she learns the language, her mind is changed. Not only can she remember the future, she comes to understand that she cannot change it. Just like the other heptapod knew it was going to die, but came to Earth anyway because the future is immutable.
Giving her free will introduces a paradox: the future which she remembers will no longer exist if she veers off the path. Unless she can see all possible futures, which is a different story to Arrival altogether (see Dune). The whole visit could be pointless in any case (again, spoilers) if Earth decides not to help the heptapods in the far future. The entire plot hinges on an immutable future.