eqy:

a = torch.cat([a0, ..., a7], dim=1)


thanks but when I use this I get this error:
a0=a[:,0,:,:]
a1=a[:,1,:,:]
a2=a[:,2,:,:]
a3=a[:,3,:,:]
a4=a[:,4,:,:]
a5=a[:,5,:,:]
a6=a[:,6,:,:]
a7=a[:,7,:,:]
a0=a1
a1=a2
a2=a3
a3=a4
a4=a5
a5=a6
a6=a7
a7=a0
#a=[a0,
 #  a1,
 #  a2,
 #  a3,
 #  a4,
 #  a5,
 #  a6,
 #  a7]
#a = torch.FloatTensor(a)
#type(a)
#print(a)

a = torch.cat([a0, ..., a7], dim=1)

model = ConvAutoencoder()
model.conv3.weight = nn.Parameter(a)

print(model.conv3.weight)



error:
<ipython-input-8-526580d6fd64> in <module>()
     28 #print(a)
     29 
---> 30 a = torch.cat([a0, ..., a7], dim=1)
     31 
     32 model = ConvAutoencoder()

TypeError: expected Tensor as element 1 in argument 0, but got ellipsis