Make TensorType operator<< consistent between .h and .cc
Make TensorType operator<< consistent between .h and .cc

Fix linking errors.

PiperOrigin-RevId: 346456386

tensorflow/runtime,tensorflow/runtime,tensorflow/runtime,tensorflow/runtime