Resolve inlined function input/output types from GrapplerFunctionItem.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Mon, 14 May 2018 20:30:53 +0000 (13:30 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 14 May 2018 20:33:45 +0000 (13:33 -0700)
commitc9777417f193509ad434805e53efa212e05eb6c3
tree05efe755e56abe3c13335d39215737b8b1e107fb
parent52cb1594172691bd6ea9048358652585f0ea1920
Resolve inlined function input/output types from GrapplerFunctionItem.

Remove duplicated code to resolve type from attributes.

PiperOrigin-RevId: 196558061
tensorflow/core/grappler/optimizers/function_optimizer.cc
tensorflow/core/grappler/utils/functions.cc
tensorflow/core/grappler/utils/functions.h