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

Fix memory leak in Go API.

The code previously wrapped a C pointer without setting the enclosing TensorHandle's finalizer. I add a new method, newTensorHandleFromC, to do this.

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