Produces RunMetadata from eager execution when tracing is explicitly enabled.
authorAlexandre Passos <apassos@google.com>
Sat, 23 Dec 2017 00:30:04 +0000 (16:30 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Sat, 23 Dec 2017 00:37:10 +0000 (16:37 -0800)
commit2fe2e43e429ac667fc1da6e936913881fdae6f3a
tree464b6155a132b667aeb6f4992671bce8ed12c23f
parenta629d0a28ed6bc7a334f9e96058229efa337e59b
Produces RunMetadata from eager execution when tracing is explicitly enabled.

This will allow downstream profiling tools to work with eager execution.

PiperOrigin-RevId: 179974238
tensorflow/c/eager/c_api.cc
tensorflow/c/eager/c_api.h
tensorflow/c/eager/c_api_internal.h
tensorflow/c/eager/c_api_test.cc
tensorflow/c/eager/runtime.cc
tensorflow/c/eager/runtime.h
tensorflow/c/eager/runtime_test.cc