Configurable Custom graph optimizers for grappler (#18479)
authorSami Kama <samikama@users.noreply.github.com>
Wed, 18 Apr 2018 20:30:10 +0000 (13:30 -0700)
committerBenoit Steiner <benoitsteiner@users.noreply.github.com>
Wed, 18 Apr 2018 20:30:10 +0000 (13:30 -0700)
commit6e87115add98695862343539f383bf82e5cacf32
treec810620092f339579df2d95cc3308eecdef56381
parente1fa4112bb1cf40cec4f0ec3eb2c35321e69f20c
Configurable Custom graph optimizers for grappler (#18479)

* Adding a new field for configurable custom optimizers

* Pass configuration structure to custom optimizers

* Reviewer requests

* Style fixes

* Fix tests
tensorflow/core/grappler/optimizers/custom_graph_optimizer.h
tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry_test.cc
tensorflow/core/grappler/optimizers/meta_optimizer.cc
tensorflow/core/grappler/optimizers/meta_optimizer_test.cc
tensorflow/core/protobuf/rewriter_config.proto