docstr: Test block diagonalization when we filter out out-of-bounds indices.
code: def test_convert_to_block_diag_2d_validate_indices(self):
      """Test block diagonalization when we filter out out-of-bounds indices."""
      sizes = ((2, 3), (2, 3), (2, 3))
  
      batch = _dense_to_sparse(np.random.uniform(size=(3, 4, 3)))
      block_diag = utils.convert_to_block_diag_2d(batch, sizes, True)
  
      self._validate_sizes(block_diag, sizes)
  
imports: from absl.testing import parameterized
  import numpy
  from scipy import linalg
  import tensorflow
  from tensorflow_graphics.geometry.convolution import utils
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 7 for calling the UtilsConvertToBlockDiag2dTests obj's underlying member method code with example usage: obj.test_convert_to_block_diag_2d_validate_indices() without return types