| 483 | |
| 484 | |
| 485 | float *network_predict(network *net, float *input) |
| 486 | { |
| 487 | network orig = *net; |
| 488 | net->input = input; |
| 489 | net->truth = 0; |
| 490 | net->train = 0; |
| 491 | net->delta = 0; |
| 492 | forward_network(net); |
| 493 | float *out = net->output; |
| 494 | *net = orig; |
| 495 | return out; |
| 496 | } |
| 497 | |
| 498 | int num_boxes(network *net) |
| 499 | { |