Commit f2a46993 authored by Changming Sun's avatar Changming Sun Committed by Rasmus Munk Larsen
Browse files

Make ResourceHandle private to tensorflow library (#9994)

tensorflow::ResourceHandle is a protobuf object. The official protobuf document suggests:

"If your project is itself a DLL intended for use by third-party software, we recommend
that you do NOT expose protocol buffer objects in your library's public interface, and
that you statically link protocol buffers into your library"

Without this change, it is not able to implement a ResourceOpKernel in DLL on Windows.
parent fabd2255
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment