转:https://blog.csdn.net/april_newnew/article/details/44176059格式:tile(A,reps)* A:array_like* 输入的array* reps:array_like* A沿各个维度重复的次数 举例:A=[1,2]1. tile(A,2)结果:[1,2,1,2]2. tile(A,(2,3))结果:[[1,2,1,2,1,2], [1,2,1,2,1,2]]3. tile(A,(2,2,3))结果:[[[1,2,1,2,1,2]…