This is a static copy of a profile report

Home

Function details for padding_and_phiZ>paddingThis is a static copy of a profile report

Home

padding_and_phiZ>padding (Calls: 3243, Time: 62.794 s)
Generated 19-Jun-2021 04:01:57 using performance time.
subfunction 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
padding_and_phiZfunction3243
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
21
output(:, p+1:p+a_in, p+1:p+b_...
324354.688 s87.1%
20
output = gpu(@zeros, [d, a_pad...
32437.994 s12.7%
19
Z = reshape(Z, d, a_in, b_in, ...
32430.068 s0.1%
14
a_in = model.ht_input(m); b_in...
32430.013 s0.0%
15
a_pad = model.ht_pad(m); b_pad...
32430.006 s0.0%
All other lines  0.024 s0.0%
Totals  62.794 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
gpufunction32437.840 s12.5%
Self time (built-ins, overhead, etc.)  54.954 s87.5%
Totals  62.794 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)3
Code lines (lines that can run)7
Code lines that did run7
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
  12 
function output = padding(model, Z, m, num_data)
  13 

  0.013 
   3243 
  14
a_in = model.ht_input(m); b_in = model.wd_input(m); 
  0.006 
   3243 
  15
a_pad = model.ht_pad(m); b_pad = model.wd_pad(m); 
  0.003 
   3243 
  16
p = model.wd_pad_added(m); 
  0.004 
   3243 
  17
d = model.ch_input(m); 
  18 

  0.068 
   3243 
  19
Z = reshape(Z, d, a_in, b_in, []); 
  7.994 
   3243 
  20
output = gpu(@zeros, [d, a_pad, b_pad, num_data]); 
 54.688 
   3243 
  21
output(:, p+1:p+a_in, p+1:p+b_in, :) = Z; 

Other subfunctions in this file are not included in this listing.