code: def mtf_image_transformer_base_imagenet_mp_sp():
      """Model parallel ImageNet parameters."""
      hparams = mtf_image_transformer_base_imagenet_mp128()
      hparams.mesh_shape = "model:8;batch:4"
      hparams.layout = "batch:batch;d_ff:model;num_wblocks:model"
      hparams.batch_size = 8
      hparams.img_len = 128
      hparams.block_length = 128
      hparams.attention_type = "local1d_spatial"
      return hparams
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  import mesh_tensorflow
  from tensor2tensor.layers import common_hparams
  from tensor2tensor.layers import common_layers
  from tensor2tensor.utils import mtf_model
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
label_desc: Use image node_id 17 for calling a global function with example usage: mtf_image_transformer_base_imagenet_mp_sp() and returns: hparams