235e5c51c1f023f725e470142fa630c2c5db7720,src/sagemaker/mxnet/estimator.py,MXNet,_prepare_init_params_from_job_description,#Any#Any#,92

Before Change



        
        init_params = super(MXNet, cls)._prepare_init_params_from_job_description(job_details)
        framework, py_version, tag = framework_name_from_image(init_params.pop("image"))

        init_params["py_version"] = py_version

        // We switched image tagging scheme from regular image version (e.g. "1.0") to more expressive

After Change



        
        init_params = super(MXNet, cls)._prepare_init_params_from_job_description(job_details)
        image_name = init_params.pop("image")
        framework, py_version, tag = framework_name_from_image(image_name)

        if not framework:
            // If we were unable to parse the framework name from the image it is not one of our
            // officially supported images, in this case just add the image to the init params.
            init_params["image_name"] = image_name
            return init_params

        init_params["py_version"] = py_version

        // We switched image tagging scheme from regular image version (e.g. "1.0") to more expressive
        // containing framework version, device type and python version (e.g. "0.12-gpu-py2").
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: aws/sagemaker-python-sdk
Commit Name: 235e5c51c1f023f725e470142fa630c2c5db7720
Time: 2018-06-25
Author: nacho950@gmail.com
File Name: src/sagemaker/mxnet/estimator.py
Class Name: MXNet
Method Name: _prepare_init_params_from_job_description


Project Name: aws/sagemaker-python-sdk
Commit Name: 235e5c51c1f023f725e470142fa630c2c5db7720
Time: 2018-06-25
Author: nacho950@gmail.com
File Name: src/sagemaker/tensorflow/estimator.py
Class Name: TensorFlow
Method Name: _prepare_init_params_from_job_description


Project Name: aws/sagemaker-python-sdk
Commit Name: 235e5c51c1f023f725e470142fa630c2c5db7720
Time: 2018-06-25
Author: nacho950@gmail.com
File Name: src/sagemaker/chainer/estimator.py
Class Name: Chainer
Method Name: _prepare_init_params_from_job_description


Project Name: aws/sagemaker-python-sdk
Commit Name: 235e5c51c1f023f725e470142fa630c2c5db7720
Time: 2018-06-25
Author: nacho950@gmail.com
File Name: src/sagemaker/pytorch/estimator.py
Class Name: PyTorch
Method Name: _prepare_init_params_from_job_description