Revert "histogram: avoid data transfer overhead for TPU outside compilation (#5093)" (#5147)
Revert "histogram: avoid data transfer overhead for TPU outside compilation (#5093)" (#5147)

This reverts commit 68e8a48d38109fdcf4853a4172f93e24b3f540c7.
tensorflow/tensorboard,tensorflow/tensorboard,tensorflow/tensorboard,tensorflow/tensorboard,tensorflow/tensorboard,tensorflow/tensorboard,tensorflow/tensorboard