.. _api_tensor_cn_diag: diag ------------------------------- :doc_source: paddle.fluid.layers.diag