Commit b7b86af2 authored by Sanjoy Das's avatar Sanjoy Das Committed by TensorFlower Gardener
Browse files

Teach XlaTensorBuffer to not deallocate null pointers

Zero sized XlaTensorBuffer can have null as the backing storage.  De-allocating
a null pointer produces an annoying warning from the BFCAllocator.

PiperOrigin-RevId: 205314271
parent 97f89dcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment