Hi,
Found that it gives the correct length of output if I feed the input like below;
out=model.predict(test_dataset.shuffle(500).batch(16))
where buffer_size and batch size could be changed. it seems that the dataset object should be always fed like this (not directly)