Returns true iff the status indicates success.
| 52 | |
| 53 | /// Returns true iff the status indicates success. |
| 54 | bool ok() const { return (state_ == NULL); } |
| 55 | |
| 56 | tensorflow::error::Code code() const { |
| 57 | return ok() ? tensorflow::error::OK : state_->code; |
no outgoing calls