Import FunctionDef as GrapplerFunctionItem
authorA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 11 Apr 2018 16:43:32 +0000 (09:43 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 11 Apr 2018 16:46:55 +0000 (09:46 -0700)
commita9a3b98a76f1d4a8fb7a02e451fb71147a842f31
tree104cd245f48bb19decfc71b6ec103fea01ced6d5
parentadfbc272ded60a221444423b1fee58551c6445c7
Import FunctionDef as GrapplerFunctionItem

Explicitly track function input arg expansion into Placeholders,
and keep metadata to map between FunctionDef and GraphDef connectivity
formats.

PiperOrigin-RevId: 192462592
tensorflow/core/grappler/grappler_item.h
tensorflow/core/grappler/optimizers/function_optimizer.cc
tensorflow/core/grappler/optimizers/function_optimizer_test.cc
tensorflow/core/grappler/utils/BUILD
tensorflow/core/grappler/utils/functions.cc
tensorflow/core/grappler/utils/functions.h
tensorflow/core/grappler/utils/functions_test.cc