fix enable_loop_sink bug

pull/1153/head
caifubi 5 years ago
parent 680ce090a3
commit bd269f27e6

@ -133,7 +133,6 @@ bool MsContext::set_device_target(const std::string &target) {
} else {
device_target_ = target;
}
enable_loop_sink_ = device_target_ == kAscendDevice;
MS_LOG(INFO) << "ms set context device target:" << target;
return true;
}

Loading…
Cancel
Save