code: def _compute_layout_validator(self):
      
      self._layout_validator = valid_layouts.LayoutValidator(self.mtf_graph,
                                                             self.mesh_shape)
docs: Computes self._layout_validator.