From your CSV shape, I would have to say your images might be 15x15, 667 is the number of images. So the shape of the tensor would be (667, 15, 15, 1) adhering to the format (batch_size, image_width, image_height, num_channel)