MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / print_row

Function print_row

tensorflow/python/keras/utils/layer_utils.py:155–163  ·  view source on GitHub ↗
(fields, positions)

Source from the content-addressed store, hash-verified

153 relevant_nodes += v
154
155 def print_row(fields, positions):
156 line = ''
157 for i in range(len(fields)):
158 if i > 0:
159 line = line[:-1] + ' '
160 line += str(fields[i])
161 line = line[:positions[i]]
162 line += ' ' * (positions[i] - len(line))
163 print_fn(line)
164
165 print_fn('Model: "{}"'.format(model.name))
166 print_fn('_' * line_length)

Callers 3

print_summaryFunction · 0.85
print_layer_summaryFunction · 0.85

Calls 1

rangeFunction · 0.50

Tested by

no test coverage detected