gpu (Calls: 6548, Time: 4.827 s)
Generated 19-Jun-2021 04:39:10 using performance time.
function in file /nfs/inm_phd/07/d07944009/2021/0618-proj6/simpleNN/MATLAB/cnn/gpu.m
Copy to new window for comparing multiple runs
| Function Name | Function Type | Calls |
| train>init_model | subfunction | 8 |
| find_index_phiZ | function | 24 |
| fungrad_minibatch | function | 48 |
| lossgrad_subset | function | 649 |
| feedforward | function | 654 |
| padding_and_phiZ>padding | subfunction | 1962 |
| maxpooling | function | 1962 |
| vTP | function | 1077 |
| CG | function | 15 |
| Jacobian>cal_dzdS | subfunction | 5 |
| CG>JTBJv | subfunction | 144 |
| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 14 | M = fun_arr(dim, float_type); | 2827 | 4.396 s | 91.1% | |
| 3 | global gpu_use | 6548 | 0.275 s | 5.7% | |
| 4 | global float_type | 6548 | 0.046 s | 1.0% | |
| 18 | end | 6548 | 0.028 s | 0.6% | |
| 6 | if gpu_use | 6548 | 0.011 s | 0.2% | |
| All other lines | 0.070 s | 1.5% | |||
| Totals | 4.827 s | 100% |
| Total lines in function | 18 |
| Non-code lines (comments, blank lines) | 3 |
| Code lines (lines that can run) | 15 |
| Code lines that did run | 10 |
| Code lines that did not run | 5 |
| Coverage (did run/can run) | 66.67 % |
Other subfunctions in this file are not included in this listing.