tf.compat.v1.foldr

foldr on the list of tensors unpacked from elems on dimension 0.

<