Based on your model description, your input should have the dimensions [batch_size, 1].
Your output will therefore have the same dims. Each sample has only one feature and the model outputs one prediction for each sample.
If you would like to pass only one sample, you could call model(x[0]).