Commit a45ffbd9 authored by James Keeling's avatar James Keeling Committed by TensorFlower Gardener
Browse files

Allow TF_Delete* functions to accept nullptr

The TF_Delete* functions in TensorFlow's C API now safely do nothing when asked to delete a null pointer. This mirrors the behaviour of free in C and delete in C++.

PiperOrigin-RevId: 205844191
parent 568727ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment