MCPcopy Create free account
hub / github.com/anton-jeran/MESH2IR / load_embedding

Function load_embedding

evaluate/evaluate_array.py:92–96  ·  view source on GitHub ↗
(data_dir)

Source from the content-addressed store, hash-verified

90 return graph #edge_index, vertex_position
91
92def load_embedding(data_dir):
93 # embedding_filename = '/embeddings.pickle'
94 with open(data_dir, 'rb') as f:
95 embeddings = pickle.load(f)
96 return embeddings
97
98
99def evaluate():

Callers 1

evaluateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected