In transformers of ViT model, last_hidden_state is not equal to hidden_states[-1]

When input the same image, in Google ViT model output.last_hidden_state is not equal to output.hidden_states[-1] ? I tried in Bert, the outputs are the same. feature_extractor = ViTFeatureExtractor.