code: def test_graph_mode_fit():
      from tensorflow.python.framework.ops import (
          disable_eager_execution,
      )
  
      disable_eager_execution()
      num_classes, train_ds, val_ds = dataset_generation()
  
      model_default = model_init(num_classes)
      history_default = model_default.fit(
          train_ds, epochs=3, validation_data=val_ds
      )
  
file_path: BigDL/python/nano/test/tf/train/test_fit_graph.py
imports: import os
  import pathlib
  import tensorflow
  from tensorflow.keras import layers
  from bigdl.nano.tf.keras import Sequential
  from distutils.version import LooseVersion
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: test_graph_mode_fit() without return types