src/sagemaker_xgboost_container/serving.py
def default_model_fn(model_dir):
    """Load a model. For XGBoost Framework, a default function to load a model is not provided.
    Users should provide customized model_fn() in script.
    Args:
        model_dir: a directory where model is saved.
    Returns: A XGBoost model.
    """
    return transformer.default_model_fn(model_dir)
Load a model. For XGBoost Framework, a default function to load a model is not provided.
    Users should provide customized model_fn() in script.
    Args:
        model_dir: a directory where model is saved.
    Returns: A XGBoost model.
    
Load a model. For XGBoost Framework, a default function to load a model is not provided.
Users should provide customized model_fn() in script.
Load a model . For XGBoost Framework a default function to load a model is not provided . Users should provide customized model_fn () in script .
def default_model_fn(model_dir):
    return transformer.default_model_fn(model_dir)
def default_model_fn ( model_dir ) : return transformer . default_model_fn ( model_dir )
Load a model.
Load a model .
"""Load a model. For XGBoost Framework, a default function to load a model is not provided.
    Users should provide customized model_fn() in script.
    Args:
        model_dir: a directory where model is saved.
    Returns: A XGBoost model.
    """
model_dir
a directory where model is saved.
a directory where model is saved .