status holds error information returned by TensorFlow. We convert all TF statuses to Go errors.
| 26 | // status holds error information returned by TensorFlow. We convert all |
| 27 | // TF statuses to Go errors. |
| 28 | type status struct { |
| 29 | c *C.TF_Status |
| 30 | } |
| 31 | |
| 32 | func newStatus() *status { |
| 33 | s := &status{C.TF_NewStatus()} |
no outgoing calls