MCPcopy Create free account
hub / github.com/chengsen/PyTorch_TextGCN / print_table

Function print_table

utils.py:107–114  ·  view source on GitHub ↗
(dst)

Source from the content-addressed store, hash-verified

105
106
107def print_table(dst):
108 table_title = list(dst.keys())
109 from prettytable import PrettyTable
110 table = PrettyTable(field_names=table_title, header_style="title", header=True, border=True,
111 hrules=1, padding_width=2, align="c")
112 table.float_format = "0.4"
113 table.add_row([dst[i] for i in table_title])
114 print(table)
115
116
117def return_seed(nums=10):

Callers 1

print_graph_detailFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected