padding_and_phiZ (Calls: 1962, Time: 409.333 s)
Generated 19-Jun-2021 04:39:11 using performance time.
function in file /nfs/inm_phd/07/d07944009/2021/0618-proj6/simpleNN/MATLAB/cnn/padding_and_phiZ.m
Copy to new window for comparing multiple runs
| Function Name | Function Type | Calls |
| feedforward | function | 1962 |
| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 6 | phiZ = phiZ(net.idx_phiZ{m}, :... | 1962 | 369.867 s | 90.4% | |
| 3 | phiZ = padding(model, Z, m, nu... | 1962 | 39.276 s | 9.6% | |
| 10 | phiZ = reshape(phiZ, h*h*d, []... | 1962 | 0.085 s | 0.0% | |
| 5 | phiZ = reshape(phiZ, [], num_d... | 1962 | 0.060 s | 0.0% | |
| 8 | h = model.wd_filter(m); | 1962 | 0.015 s | 0.0% | |
| All other lines | 0.030 s | 0.0% | |||
| Totals | 409.333 s | 100% |
| Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
| padding_and_phiZ>padding | subfunction | 1962 | 39.256 s | 9.6% | |
| Self time (built-ins, overhead, etc.) | 370.077 s | 90.4% | |||
| Totals | 409.333 s | 100% |
| Total lines in function | 10 |
| Non-code lines (comments, blank lines) | 4 |
| Code lines (lines that can run) | 6 |
| Code lines that did run | 6 |
| Code lines that did not run | 0 |
| Coverage (did run/can run) | 100.00 % |
time | Calls | line | |
|---|---|---|---|
1 | function phiZ = padding_and_phiZ(model, net, Z, m, num_data) | ||
2 | |||
39.276 | 1962 | 3 | phiZ = padding(model, Z, m, num_data); |
4 | % Calculate phiZ | ||
0.060 | 1962 | 5 | phiZ = reshape(phiZ, [], num_data); |
369.867 | 1962 | 6 | phiZ = phiZ(net.idx_phiZ{m}, :); |
7 | |||
0.015 | 1962 | 8 | h = model.wd_filter(m); |
0.003 | 1962 | 9 | d = model.ch_input(m); |
0.085 | 1962 | 10 | phiZ = reshape(phiZ, h*h*d, []); |
Other subfunctions in this file are not included in this listing.