Is Transformer A Generative Model