code: def test_music_tagger_crnn(self):
      # TODO: For the first BatchNormalization layer in the model, we don't support `axis=3`
      keras.backend.set_image_dim_ordering("th")
      kmodel = MusicTaggerCRNN(include_top=False, weights=None)
      input_data = np.random.random([2, 1, 96, 1366])
  
      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-6, atol=1e-6
      )
  
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 7 for calling the TestApplication obj's underlying member method code with example usage: obj.test_music_tagger_crnn() without return types