def METHOD_NAME(
    cpu_only, ecs_container_instance, mxnet_training, training_cmd, ecs_cluster_name
):
    """
    CPU mnist test for MXNet Training
    Instance Type - c4.8xlarge
    Given above parameters, registers a task with family named after this test, runs the task, and waits for
    the task to be stopped before doing teardown operations of instance and cluster.
    """
    instance_id, cluster_arn = ecs_container_instance
    ecs_utils.ecs_training_test_executor(
        ecs_cluster_name, cluster_arn, training_cmd, mxnet_training, instance_id
    )