MCPcopy Create free account

hub / github.com/AICPS/hw2vec / functions

Functions78 in github.com/AICPS/hw2vec

↓ 8 callersMethodembed_graph
(self, x, edge_index, batch)
hw2vec/graph2vec/models.py:124
↓ 6 callersMethodmlp
(self, x)
hw2vec/graph2vec/models.py:142
↓ 5 callersMethodprocess
(self, hw_path)
hw2vec/hw2graph.py:489
↓ 4 callersMethodmetric_calc
(self, loss, labels, preds, header)
hw2vec/graph2vec/trainers.py:75
↓ 3 callersMethod__init__
(self, config)
hw2vec/graph2vec/models.py:67
↓ 3 callersMethodcache_graph_data
(self, data_pkl_path)
hw2vec/hw2graph.py:152
↓ 3 callersMethodevaluate
(self, epoch_idx, data_loader, valid_data_loader)
hw2vec/graph2vec/trainers.py:280
↓ 3 callersMethodfind_hw_project_folders
(self)
hw2vec/hw2graph.py:386
↓ 3 callersMethodgenerate
(self)
hw2vec/utilities.py:110
↓ 3 callersMethodgetBinddict
(self)
hw2vec/utilities.py:158
↓ 3 callersMethodgetTerms
(self)
hw2vec/utilities.py:155
↓ 3 callersMethodget_graphs
(self)
hw2vec/hw2graph.py:121
↓ 3 callersMethodload_model
(self, model_config_path, model_weight_path)
hw2vec/graph2vec/models.py:88
↓ 3 callersMethodmetric_print
(self, loss, acc, f1, conf_mtx, precision, recall, header)
hw2vec/graph2vec/trainers.py:92
↓ 3 callersMethodpreprocess
(self, verilog_dir)
hw2vec/hw2graph.py:476
↓ 3 callersMethodprocess
(self, verilog_file)
hw2vec/hw2graph.py:173
↓ 3 callersMethodset_graph_conv
(self, convs)
hw2vec/graph2vec/models.py:107
↓ 3 callersMethodset_graph_pool
(self, pool_layer)
hw2vec/graph2vec/models.py:115
↓ 3 callersMethodset_graph_readout
(self, typeofreadout)
hw2vec/graph2vec/models.py:118
↓ 3 callersMethodset_output_layer
(self, layer)
hw2vec/graph2vec/models.py:121
↓ 3 callersMethodtrain
(self, data_loader, valid_data_loader)
hw2vec/graph2vec/trainers.py:205
↓ 2 callersMethod__init__
(self, cfg, task)
hw2vec/graph2vec/trainers.py:301
↓ 2 callersMethodbuild
(self, model, path=None)
hw2vec/graph2vec/trainers.py:43
↓ 2 callersMethodcode2graph
(self, verilog_dir, profile=True)
hw2vec/hw2graph.py:464
↓ 2 callersMethodgetFrameTable
(self)
hw2vec/utilities.py:136
↓ 2 callersMethodinference
(self, data_loader)
hw2vec/graph2vec/trainers.py:152
↓ 2 callersMethodinference
(self, data_loader)
hw2vec/graph2vec/trainers.py:244
↓ 2 callersFunctionisInt
(s)
hw2vec/utilities.py:87
↓ 2 callersMethodprocess
(self, nx_graph)
hw2vec/hw2graph.py:57
↓ 2 callersMethodread_graph_data_from_cache
(self, data_pkl_path)
hw2vec/hw2graph.py:156
↓ 2 callersMethodsave_model
(self, model_config_path, model_weight_path)
hw2vec/graph2vec/models.py:71
↓ 2 callersMethodsplit_dataset
(self, ratio, seed, dataset)
hw2vec/hw2graph.py:129
↓ 2 callersMethodvisualize_embeddings
(self, data_loader, path=None)
hw2vec/graph2vec/trainers.py:47
↓ 1 callersMethod_add_node
(self, graph, parent, child, cur_dict)
hw2vec/hw2graph.py:280
↓ 1 callersMethod_generate_ast_dict
(self, ast_node)
hw2vec/hw2graph.py:262
↓ 1 callersMethodevaluate
(self, epoch_idx, train_loader, test_loader)
hw2vec/graph2vec/trainers.py:178
↓ 1 callersMethodflatten
(self, input_path, flattened_hw_path)
hw2vec/hw2graph.py:395
↓ 1 callersMethodgenerate_pairs
(self)
hw2vec/hw2graph.py:115
↓ 1 callersMethodget_class_weights
(self, train_graphs)
hw2vec/hw2graph.py:146
↓ 1 callersMethodget_embeddings
(self, data_loader)
hw2vec/graph2vec/trainers.py:60
↓ 1 callersMethodget_pairs
(self)
hw2vec/hw2graph.py:124
↓ 1 callersMethodinference_epoch_ip
(self, graph1, graph2)
hw2vec/graph2vec/trainers.py:142
↓ 1 callersMethodinference_epoch_tj
(self, data)
hw2vec/graph2vec/trainers.py:236
↓ 1 callersMethodnormalize
Normalization is a step to replace the label of a node to a value -> replace all the variable name and numeric values with a high-level
hw2vec/hw2graph.py:64
↓ 1 callersFunctionprocess_graph
(cfg, folder_path, hw2graph, profile=True)
hw2vec/scripts/graph_processer.py:10
↓ 1 callersFunctionprocess_graphs
(cfg)
hw2vec/scripts/graph_processer.py:28
↓ 1 callersMethodremove_comments
(self, hw_path)
hw2vec/hw2graph.py:406
↓ 1 callersMethodremove_underscores
(self, hw_path)
hw2vec/hw2graph.py:421
↓ 1 callersMethodrename_topModule
(self, hw_path)
hw2vec/hw2graph.py:429
↓ 1 callersMethodtrain_epoch_ip
(self, graph1, graph2, labels)
hw2vec/graph2vec/trainers.py:131
↓ 1 callersMethodtrain_epoch_tj
(self, data)
hw2vec/graph2vec/trainers.py:227
↓ 1 callersFunctionuse_case_1
(cfg, hw_design_dir_path, pretrained_model_weight_path, pretrained_model_cfg_path)
examples/use_case_1.py:7
Method__init__
(self, args)
hw2vec/config.py:16
Method__init__
(self, filelist, topmodule='TOP', noreorder=False, nobind=False, preprocess_include=None,
hw2vec/utilities.py:95
Method__init__
(self, cfg)
hw2vec/hw2graph.py:33
Method__init__
(self)
hw2vec/hw2graph.py:170
Method__init__
(self)
hw2vec/hw2graph.py:231
Method__init__
(self)
hw2vec/hw2graph.py:303
Method__init__
(self, cfg)
hw2vec/hw2graph.py:383
Method__init__
(self, cfg)
hw2vec/graph2vec/trainers.py:34
Method__init__
(self, cfg)
hw2vec/graph2vec/trainers.py:102
Method__init__
(self, cfg, class_weights=None)
hw2vec/graph2vec/trainers.py:197
Method__init__
(self, type, in_channels, out_channels)
hw2vec/graph2vec/models.py:21
Method__init__
(self, type, in_channels, poolratio)
hw2vec/graph2vec/models.py:33
Method__init__
(self, type)
hw2vec/graph2vec/models.py:47
Methodembed_node
(self, x, edge_index)
hw2vec/graph2vec/models.py:136
Methodforward
(self, x, edge_index)
hw2vec/graph2vec/models.py:29
Methodforward
(self, x, edge_index, batch)
hw2vec/graph2vec/models.py:43
Methodforward
(self, x, batch)
hw2vec/graph2vec/models.py:51
MethodgetConsts
(self)
hw2vec/utilities.py:150
MethodgetInstances
(self)
hw2vec/utilities.py:140
MethodgetSignals
(self)
hw2vec/utilities.py:145
Methodprocess
(self, verilog_file)
hw2vec/hw2graph.py:248
Methodprocess
(self, verilog_file)
hw2vec/hw2graph.py:306
Functionprofilegraph
(func)
hw2vec/utilities.py:39
Functionprofileit
(func)
hw2vec/utilities.py:15
Methodtrain
(self, train_loader, test_loader)
hw2vec/graph2vec/trainers.py:108
Functionwrapper
(*args, **kwargs)
hw2vec/utilities.py:16