1d Target Tensor Expects 2d Input Tensors