![]() |
ETRI IVCL 1.0.0
Acceleration SW Platform for Ondevice
|
Functions | |
| def | read_net (filename) |
| def | format_param (param) |
| def | printed_len (s) |
| def | print_table (table, max_width) |
| def | summarize_net (net) |
| def | main () |
Variables | |
| list | COLORS |
| string | DISCONNECTED_COLOR = '41' |
Net summarization tool. This tool summarizes the structure of a net in a concise but comprehensive tabular listing, taking a prototxt file as input. Use this tool to check at a glance that the computation you've specified is the computation you expect.
| def summarize.format_param | ( | param | ) |
| def summarize.main | ( | ) |
| def summarize.print_table | ( | table, | |
| max_width | |||
| ) |
Print a simple nicely-aligned table. table must be a list of (equal-length) lists. Columns are space-separated, and as narrow as possible, but no wider than max_width. Text may overflow columns; note that unlike string.format, this will not affect subsequent columns, if possible.
| def summarize.printed_len | ( | s | ) |
| def summarize.read_net | ( | filename | ) |
| def summarize.summarize_net | ( | net | ) |
| list summarize.COLORS |
| string summarize.DISCONNECTED_COLOR = '41' |