In my case, the type of the concatenated tensor is both of “torch.DoubleTensor”.
Converting the type to FloatTensor by using float()
worked.
I feel something odd from this error message.
In my case, the type of the concatenated tensor is both of “torch.DoubleTensor”.
Converting the type to FloatTensor by using float()
worked.
I feel something odd from this error message.