I think the Seq2Seq tutorial 1 might be a good starter (as well as generally checking the docs to see what shapes are expected).
Besides that @vdw has shared some excellent posts e.g. here and here, which clarify the structure a bit more.