Commit 5b420f6b authored by Rohan Jain's avatar Rohan Jain Committed by TensorFlower Gardener
Browse files

Adds a ReleaseHandle method to the FunctionLibraryRuntime interface that...

Adds a ReleaseHandle method to the FunctionLibraryRuntime interface that allows for releasing the state associated with the handle.

Also simplifies the state owned by the FunctionLibraryRuntimeImpl. Instead of having a vector of ref counted Item objects and a separate vector of function bodies, we merge it into one object that holds the entire instantiated state for the function.

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