Even if giving my training data as tensor its showing trackback..for generating my outputs from the torch tensors

in <cell line: 7>()
7 for epoch in range(10):
8 optimizer.zero_grad()
----> 9 outputs = autoencoder(X_train)
10 loss = criterion(outputs, X_train)
11 loss.backward()

6 frames
/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py in _conv_forward(self, input, weight, bias)
457 weight, bias, self.stride,
458 _pair(0), self.dilation, self.groups)
→ 459 return F.conv2d(input, weight, bias, self.stride,
460 self.padding, self.dilation, self.groups)

TypeError: conv2d() received an invalid combination of arguments - got (numpy.ndarray, Parameter, Parameter, tuple, tuple, tuple, int), but expected one of: