import keras
model = keras.models.load_model('./resnet10.hdf5')
model = keras.models.load_model("./resnet10.h5")
print(model.outputs)
# [<tf.Tensor 'dense_2/Softmax:0' shape=(?, 10) dtype=float32>]
print(model.inputs)
# [<tf.Tensor 'conv2d_1_input:0' shape=(?, 28, 28, 1) dtype=float32>]