Skip to content

Commit

Permalink
fix ut error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiweibo committed Aug 23, 2021
1 parent 69e7ff8 commit 4a13c9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ def run_test(self,
tensor_config.dtype)
results: List[Dict[str, Tensor]] = []
for pred_config in self.sample_predictor_configs():
self.assert_op_size(trt_engine_num, paddle_op_num)
results.append(
self.run_test_config(model, params, prog_config,
pred_config, feed_data))
self.assert_tensors_near(threshold=threshold, tensors=results)
self.assert_op_size(trt_engine_num, paddle_op_num)

1 comment on commit 4a13c9b

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.