Skip to content

Commit fc865be

Browse files
committed
resolve conflict
1 parent 11a435a commit fc865be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graph_net/paddle/test_compiler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def test_single_model(args):
112112
print("-- Run with compiled mode")
113113
build_strategy = paddle.static.BuildStrategy()
114114
# build_strategy.build_cinn_pass = True
115+
compilation_start_time = time.time()
115116
compiled_model = paddle.jit.to_static(
116117
model_dy,
117118
input_spec=input_spec,
@@ -148,7 +149,7 @@ def test_single_model(args):
148149
raise ValueError("Illegal return value.")
149150

150151
def print_cmp(key, func, **kwargs):
151-
cmp_ret = func(processed_expected_out, processed_compiled_out, **kwargs)
152+
cmp_ret = func(expected_out, compiled_out, **kwargs)
152153
print(
153154
f"{args.log_prompt} {key} model_path:{args.model_path} {cmp_ret}",
154155
file=sys.stderr,

0 commit comments

Comments
 (0)