Skip to content

Commit 5bcdd07

Browse files
committed
delete unused expr
1 parent 78a984b commit 5bcdd07

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

graph_net/paddle/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ def load_converted_list_from_text(file_path):
113113
input_info = [
114114
data for data in convert_meta_classes_to_tensors(f"{file_path}/input_meta.py")
115115
]
116-
# print(f"-- input_info: {input_info}")
117116
weight_info = [
118117
data for data in convert_meta_classes_to_tensors(f"{file_path}/weight_meta.py")
119118
]
@@ -122,7 +121,6 @@ def load_converted_list_from_text(file_path):
122121

123122
def convert_meta_classes_to_tensors(file_path):
124123
for name, cls in _get_classes(file_path):
125-
# print(f"-- name: {name}")
126124
attrs = {
127125
k: v
128126
for k, v in cls.__dict__.items()
@@ -162,7 +160,6 @@ def _get_classes(file_path):
162160
spec = importlib.util.spec_from_file_location("unnamed", file_path)
163161
unnamed = importlib.util.module_from_spec(spec)
164162
spec.loader.exec_module(unnamed)
165-
# yield from inspect.getmembers(unnamed, inspect.isclass)
166163

167164
classes = [(name, getattr(unnamed, name)) for name in class_names]
168165
return classes

0 commit comments

Comments
 (0)