Make custom_graph_optimizer_registry header-only (#18387)
authorAllen Lavoie <allenlavoie@gmail.com>
Tue, 10 Apr 2018 19:41:29 +0000 (12:41 -0700)
committerdrpngx <drpngx@users.noreply.github.com>
Tue, 10 Apr 2018 19:41:29 +0000 (12:41 -0700)
commitfe3f9dddb39171dd7cd9fbb9e044a40e08072c50
treeeceb77435174cc522c38f8864c31158604646f61
parent049dfd5e070cfa84c82eea71c6c746a70cba4a3f
Make custom_graph_optimizer_registry header-only (#18387)

Adds it as a dependency to libtensorflow_framework.so so its symbols are
available to shared objects which want to register optimizers. No other rules
include it, so shared objects won't accidentally get their own version of the
registry.
tensorflow/BUILD
tensorflow/core/grappler/optimizers/BUILD