()
| 379 | } |
| 380 | |
| 381 | func (c *cRunArgs) toGo() []*Tensor { |
| 382 | ret := make([]*Tensor, len(c.fetchTensors)) |
| 383 | for i, ct := range c.fetchTensors { |
| 384 | ret[i] = newTensorFromC(ct) |
| 385 | } |
| 386 | return ret |
| 387 | } |
| 388 | |
| 389 | func ptrOutput(l []C.TF_Output) *C.TF_Output { |
| 390 | if len(l) == 0 { |
no test coverage detected