Add input Reset in ExperimentalDecodeProgram at "end" of decoding infeed. This seems release some memory since currently after switching away from decode programs, some memories is still hold for their input pipeline in trainer host, which is not necessary for resettable case, but can cause OOM.
Add input Reset in ExperimentalDecodeProgram at "end" of decoding infeed. This seems release some memory since currently after switching away from decode programs, some memories is still hold for their input pipeline in trainer host, which is not necessary for resettable case, but can cause OOM.

PiperOrigin-RevId: 489023208

tensorflow/lingvo,tensorflow/lingvo,tensorflow/lingvo,tensorflow/lingvo