In numpy you can get the raw buffer of an array using numpy.ndarray.tobytes(). How can I get an equivalent bytestring from a tf.Tensor without having to convert
tf.Tensor