MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / print_row

Method print_row

python/paddle/hapi/static_flops.py:234–239  ·  view source on GitHub ↗
(self, row)

Source from the content-addressed store, hash-verified

232 self.data.append(row_str)
233
234 def print_row(self, row):
235 string = ''
236 for i in range(self.col_num):
237 string += '|' + str(row[i]).center(self.table_len[i] + 2)
238 string += '|'
239 print(string)
240
241 def print_shelf(self):
242 string = ''

Callers 1

print_tableMethod · 0.95

Calls 3

rangeFunction · 0.85
strFunction · 0.85
printFunction · 0.50

Tested by

no test coverage detected