Minor fix an error in error message

PiperOrigin-RevId: 311135827
Change-Id: I765bd43c7a3c8bde9d20b25b7f9ebcc77c71c896
This commit is contained in:
Yanhua Sun 2020-05-12 09:04:18 -07:00 committed by TensorFlower Gardener
parent 1658986a76
commit 169ceceaf2

View File

@ -98,7 +98,7 @@ const char* EagerExecutor::StateStringLocked() {
Status EagerExecutor::SyncExecute(EagerNode* node) {
if (Async()) {
return errors::Internal("Executor does not support sync execution");
return errors::Internal("Executor does not support async execution");
}
if (node->AsAsync() != nullptr) {
return errors::Internal("Executor does not support executing async nodes");