code: def inputs(self):
      return [
          tf.TensorSpec(
              (None, IMAGE_SIZE, IMAGE_SIZE), tf.float32, "input"
          ),
          tf.TensorSpec((None,), tf.int32, "label"),
      ]
  
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 1 for calling the Model obj's underlying member method code with example usage: obj.inputs() and returns: list