code: def get_keras_model():
      with clear_tower0_name_scope():
          M = keras.models.Sequential()
          M.add(KL.Conv2D(32, 3, activation="relu", padding="same"))
          M.add(KL.MaxPooling2D())
          M.add(KL.Conv2D(32, 3, activation="relu", padding="same"))
          M.add(KL.Conv2D(32, 3, activation="relu", padding="same"))
          M.add(KL.MaxPooling2D())
          M.add(KL.Conv2D(32, 3, padding="same", activation="relu"))
          M.add(KL.Flatten())
          M.add(
              KL.Dense(
                  512,
                  activation="relu",
                  kernel_regularizer=keras.regularizers.l2(1e-5),
              )
          )
          M.add(KL.Dropout(rate=0.5))
          M.add(
              KL.Dense(
                  10,
                  activation=None,
                  kernel_regularizer=keras.regularizers.l2(1e-5),
              )
          )
      return M
  
file_path: tensorpack/examples/keras/mnist-keras.py
imports: import tensorflow
  from tensorflow import keras
  from contextlib import contextmanager
  from tensorpack import *
  from tensorpack.contrib.keras import KerasPhaseCallback
  from tensorpack.dataflow import dataset
  from tensorpack.utils.argtools import memoized
  from tensorpack.utils.gpu import get_num_gpu
  from tensorpack.tfutils.tower import get_current_tower_context
label_desc: Use image node_id 2 for calling a global function with example usage: get_keras_model() and returns: M