tf.io.serialize_tensor

Transforms a Tensor into a serialized TensorProto proto.