Following changes on program.py: 1. try deprecate decode_until_out_of_range, always use decode_steps_per_loop=-1 for it. This makes the code simpler. 2. add p.decode_num_samples, p.drop_remainder in ExperimentalDecodeProgram, so user can set num_samples when steps_per_loop=-1, it will by default pad the samples and decode all the samples.
Following changes on program.py:
1. try deprecate decode_until_out_of_range, always use decode_steps_per_loop=-1 for it. This makes the code simpler.
2. add p.decode_num_samples, p.drop_remainder in ExperimentalDecodeProgram, so user can set num_samples when steps_per_loop=-1, it will by default pad the samples and decode all the samples.

PiperOrigin-RevId: 462041696

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