TF generate: handle case without cache in beam search (#16704)
TF generate: handle case without cache in beam search (#16704)


huggingface/transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers