Implement basic tensor pretty printing, based on NumPy printing. (#23837)
Print element tensors on new lines.
Truncate long tensors.
Summarize overly long contents with `...`.
Provide configuration options:
* Max line width.
* Max number of elements to print before summarization.
* Summarize flag.