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.
Loading
Please sign in to comment