I want to generate a circulant matrix in tensorflow without using any for loops. For example my input is [1, 2, 3], and the expected output is [[1,2,3],[2,3,1],[3,1,2]]. I think we can use nd convolution to do it, but tensorflow doesn't have nd convolution.