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 it to a numpy array?
numpy.ndarray.tobytes()
tf.Tensor
2.1m questions
2.1m answers
60 comments
57.0k users