code: def test_compute_mask_indices(self):
      batch_size = 4
      sequence_length = 60
      mask_prob = 0.5
      mask_length = 1
  
      mask = _compute_mask_indices(
          (batch_size, sequence_length), mask_prob, mask_length
      )
  
      self.assertListEqual(
          tf.reduce_sum(mask, -1).numpy().tolist(),
          [mask_prob * sequence_length for _ in range(batch_size)],
      )
  
imports: import copy
  import inspect
  import math
  import unittest
  import numpy
  import pytest
  from transformers import is_tf_available
  from transformers.testing_utils import require_soundfile, require_tf, slow
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_tf_common import TFModelTesterMixin, ids_tensor
label_desc: Use image node_id 1 for calling the TFHubertUtilsTest obj's underlying member method code with example usage: obj.test_compute_mask_indices() without return types