def __init__(self, mtf_graph, mesh_shape):
    """Initializer.

    Args:
      mtf_graph: an mtf.Graph, representing the Mesh TensorFlow computation of
          interest.
      mesh_shape: an mtf.Shape, representing the mesh of interest.
    """
    self._splittable_mtf_dimension_names = self._initialize_splittable_dimensions(
        mtf_graph)
    self._mtf_dimension_name_to_size_gcd = (
        self._initialize_mtf_dimension_name_to_size_gcd(mtf_graph))
    self._mesh_dimension_name_to_size = self._initialize_mesh_dimension_name_to_size(
        mesh_shape)
def __init__ ( self , mtf_graph , mesh_shape ) : self . _splittable_mtf_dimension_names = self . _initialize_splittable_dimensions ( mtf_graph ) self . _mtf_dimension_name_to_size_gcd = ( self . _initialize_mtf_dimension_name_to_size_gcd ( mtf_graph ) ) self . _mesh_dimension_name_to_size = self . _initialize_mesh_dimension_name_to_size ( mesh_shape )
Initializer.

    Args:
      mtf_graph: an mtf.Graph, representing the Mesh TensorFlow computation of
          interest.
      mesh_shape: an mtf.Shape, representing the mesh of interest.