diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-08-16 15:16:42 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-08-16 15:20:05 -0700 |
commit | 89617e72e7cb103dfefc6a627fc78d0314c5eb9f (patch) | |
tree | e89db195b00680375af0c9b01cec629c507e1208 /WORKSPACE | |
parent | a9018cc1e1adf3747c1c9170add04720846b2887 (diff) |
Use the new grpc::ByteBuffer::Swap() operation to avoid a memory allocation in
tensorflow::grpc::EncodeRecvTensorResponseToByteBuffer() and
tensorflow::grpc::EncodeTensorToByteBuffer()
The Swap() operation allows the assignment to the *result ByteBuffer
to be performed without the allocation performed by grpc::ByteBuffer::operator=().
PiperOrigin-RevId: 165504787
Diffstat (limited to 'WORKSPACE')
0 files changed, 0 insertions, 0 deletions