This is a static copy of a profile report

Home

Function details for padding_and_phiZThis is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
feedforwardfunction1962
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
6
phiZ = phiZ(net.idx_phiZ{m}, :...
1962369.867 s90.4%
3
phiZ = padding(model, Z, m, nu...
196239.276 s9.6%
10
phiZ = reshape(phiZ, h*h*d, []...
19620.085 s0.0%
5
phiZ = reshape(phiZ, [], num_d...
19620.060 s0.0%
8
h = model.wd_filter(m);
19620.015 s0.0%
All other lines  0.030 s0.0%
Totals  409.333 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
padding_and_phiZ>paddingsubfunction196239.256 s9.6%
Self time (built-ins, overhead, etc.)  370.077 s90.4%
Totals  409.333 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function10
Non-code lines (comments, blank lines)4
Code lines (lines that can run)6
Code lines that did run6
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
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.