class_docstr: Handle end-to-end training and deployment of custom MXNet code.
class_docstr_tok: ["Handle","end-to-end","training","and","deployment","of","custom","MXNet","code","."]
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def _configure_distribution(self, distribution):
      """Placeholder docstring"""
      if distribution is None:
          return
  
      if (
          self.framework_version
          and self.framework_version.split(".")
          < self._LOWEST_SCRIPT_MODE_VERSION
      ):
          raise ValueError(
              "The distribution option is valid for only versions {} and higher".format(
                  ".".join(self._LOWEST_SCRIPT_MODE_VERSION)
              )
          )
  
      if "parameter_server" in distribution:
          enabled = distribution["parameter_server"].get(
              "enabled", False
          )
          self._hyperparameters[self.LAUNCH_PS_ENV_NAME] = enabled
  
      if "mpi" in distribution:
          mpi_dict = distribution["mpi"]
          mpi_enabled = mpi_dict.get("enabled", False)
          self._hyperparameters[self.LAUNCH_MPI_ENV_NAME] = mpi_enabled
  
          if mpi_dict.get("processes_per_host"):
              self._hyperparameters[
                  self.MPI_NUM_PROCESSES_PER_HOST
              ] = mpi_dict.get("processes_per_host")
  
              self._hyperparameters[
                  self.MPI_CUSTOM_MPI_OPTIONS
              ] = mpi_dict.get("custom_mpi_options", "")
  
file_path: sagemaker-python-sdk/src/sagemaker/mxnet/estimator.py
imports: from __future__ import absolute_import
  import logging
  from typing import Union, Optional, Dict
  from packaging.version import Version
  from sagemaker.deprecations import renamed_kwargs
  from sagemaker.estimator import Framework
  from sagemaker.fw_utils import framework_name_from_image, framework_version_from_tag, python_deprecation_warning, validate_version_or_image_args, warn_if_parameter_server_with_multi_gpu
  from sagemaker.mxnet import defaults
  from sagemaker.mxnet.model import MXNetModel
  from sagemaker.vpc_utils import VPC_CONFIG_DEFAULT
  from sagemaker.workflow.entities import PipelineVariable
label_desc: Use image node_id 2 for calling the MXNet obj's underlying member method code with example usage: obj._configure_distribution(distribution) without return types