Change HandleFromInput() to return a `const ResourceHandle&` and avoid copying that type.
This avoids unnecessary string copies and deallocations in the ReadVariableOp, and similar ops. PiperOrigin-RevId: 212652588
Loading
Please sign in to comment