code: def test_fast_LRPZ_equal_BaselineLRPZ():
      tf.keras.backend.clear_session()
  
      def method1(model):
          return BaselineLRPZ(model)
  
      def method2(model):
          # LRP-Z with bias
          return LRPZ(model)
  
      dryrun.test_equal_analyzer(
          method1,
          method2,
          # mind this only works for networks with relu, max, activations
          # and no skip connections!
          "trivia.dot:mnist.log_reg",
      )
  
file_path: innvestigate/tests/analyzer/test_relevance_based.py
imports: import pytest
  import tensorflow
  from innvestigate.analyzer import LRPZ, BaselineLRPZ, LRPAlpha1Beta0, LRPAlpha1Beta0IgnoreBias, LRPAlpha2Beta1, LRPAlpha2Beta1IgnoreBias, LRPEpsilon, LRPFlat, LRPSequentialPresetA, LRPSequentialPresetAFlat, LRPSequentialPresetB, LRPSequentialPresetBFlat, LRPWSquare, LRPZPlus, LRPZPlusFast
  from tests import dryrun
label_desc: Use image node_id 6 for calling a global function with example usage: test_fast_LRPZ_equal_BaselineLRPZ() and returns: BaselineLRPZ, LRPZ