def model_loading_logic()

in tensorflow2-sample/keras-processing.py [0:0]


def model_loading_logic(model_dir):
    # How do you load the model?
    print(f'Loading model from {model_dir} .')
    model = load_model(model_dir)
    print('Model loaded successfully.')
    return model