code: def deeplearning_compare_output(
      original, generic, strip_part, algo_name, generic_algo_name
  ):
      # Strip algo identifiers and Model keys before output comparison
      original = re.sub(
          r"H2ODeepLearningEstimator :[a-zA-Z ]*", "", original
      )
      original = re.sub(r"Model Key:[a-zA-Z0-9 _]*", "", original)
      generic = re.sub(r"H2OGenericEstimator :[a-zA-Z ]*", "", generic)
      generic = re.sub(r"Model Key:[a-zA-Z0-9 _]*", "", generic)
  
      compare_output(
          original, generic, strip_part, algo_name, generic_algo_name
      )
  
file_path: h2o-3/h2o-py/tests/testdir_generic_model/pyunit_generic_model_mojo_deeplearning.py
imports: import os
  import sys
  import tempfile
  import h2o
  from h2o.display import H2OTableDisplay, capture_output, user_tips_enabled
  from h2o.estimators import H2ODeepLearningEstimator, H2OGenericEstimator
  from tests import pyunit_utils
  from tests.testdir_generic_model import compare_output, compare_params
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: deeplearning_compare_output(original, generic, strip_part, algo_name, generic_algo_name) without return types