void tensorflow::Status::Update(const Status &new_status)
If ok(), stores new_status into *this. If !ok(), preserves the current status, but may augment with additional information about new_status.
Convenient way of keeping track of the first error encountered. Instead of: if (overall_status.ok()) overall_status = new_status Use: overall_status.Update(new_status);
Please login to continue.