class_docstr: Keras test
class_docstr_tok: ["Keras","test"]
docstr: test_forward_inception_v3
docstr_tok: ["test_forward_inception_v3"]
code: def test_forward_inception_v3(self, keras_mod, layout="NCHW"):
      """test_forward_inception_v3"""
      if hasattr(keras_mod.applications, "InceptionV3"):
          # Keras 2.4.x and older
          inception_v3_mod = keras_mod.applications.InceptionV3
      else:
          # Keras 2.6.x and newer
          inception_v3_mod = (
              keras_mod.applications.inception_v3.InceptionV3
          )
  
      keras_model = inception_v3_mod(
          include_top=True,
          weights=None,
          input_shape=(299, 299, 3),
          classes=1000,
      )
      verify_keras_frontend(keras_model, layout=layout)
  
imports: from packaging import version
  import numpy
  from tensorflow import keras
  import keras
  import pytest
  import tvm
  from tvm import relay
  from tvm.contrib import graph_executor
  import tvm.testing
label_desc: Use image node_id 25 for calling the TestKeras obj's underlying member method code with example usage: obj.test_forward_inception_v3(keras_mod, layout) without return types