Grid Beam Search implementation

I was wondering whether there is an implementation of the Grid Beam Search, as the only thing I could find in the library is “Constrained Beam Search” which takes suggestions (with force_words_ids). What is the algorithm used for constrained beam search - is it the same as the grid beam search?