Generate with inputs_embeds

I am currently working with BART.

Is it possible to use the generate() with inputs_embeds?