code: def test_inception_v3(self):
      keras.backend.set_image_dim_ordering("th")
      kmodel = inception_v3.InceptionV3(
          include_top=False, input_shape=(3, 299, 299), weights=None
      )
      input_data = np.random.random([2, 3, 299, 299])
  
      bmodel = DefinitionLoader.from_kmodel(kmodel)
      WeightLoader.load_weights_from_kmodel(bmodel, kmodel)
  
      keras_output = kmodel.predict(input_data)
      bmodel.training(is_training=False)
      bigdl_output = bmodel.forward(input_data)
  
      self.assert_allclose(
          keras_output, bigdl_output, rtol=1e-3, atol=1e-3
      )
  
file_path: BigDL/python/dllib/test/bigdl/nn/test_application.py
imports: from __future__ import print_function
  from keras.layers import *
  import pytest
  from keras.applications import *
  from bigdl.dllib.keras.converter import *
  from keras.applications.music_tagger_crnn import MusicTaggerCRNN
  from test.bigdl.test_utils import BigDLTestCase, TestModels
  from bigdl.dllib.nn.keras.backend import *
label_desc: Use image node_id 8 for calling the TestApplication obj's underlying member method code with example usage: obj.test_inception_v3() without return types