TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddings