Minor fix an error in error message
PiperOrigin-RevId: 311135827 Change-Id: I765bd43c7a3c8bde9d20b25b7f9ebcc77c71c896
This commit is contained in:
parent
1658986a76
commit
169ceceaf2
@ -98,7 +98,7 @@ const char* EagerExecutor::StateStringLocked() {
|
|||||||
|
|
||||||
Status EagerExecutor::SyncExecute(EagerNode* node) {
|
Status EagerExecutor::SyncExecute(EagerNode* node) {
|
||||||
if (Async()) {
|
if (Async()) {
|
||||||
return errors::Internal("Executor does not support sync execution");
|
return errors::Internal("Executor does not support async execution");
|
||||||
}
|
}
|
||||||
if (node->AsAsync() != nullptr) {
|
if (node->AsAsync() != nullptr) {
|
||||||
return errors::Internal("Executor does not support executing async nodes");
|
return errors::Internal("Executor does not support executing async nodes");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user