docstr: Tests if LIME mask samples have the right shape and type.
docstr_tok: ["Tests","if","LIME","mask","samples","have","the","right","shape","and","type","."]
code: def test_sample_masks_returns_correct_shape_and_type(self):
      """Tests if LIME mask samples have the right shape and type."""
      num_samples = 2
      num_features = 3
      masks = lime.sample_masks(num_samples, num_features, seed=0)
      self.assertEqual(np.dtype("bool"), masks.dtype)
      self.assertEqual((num_samples, num_features), masks.shape)
  
imports: import collections
  import functools
  from absl.testing import absltest
  from absl.testing import parameterized
  from lime import lime_text
  from lit_nlp.components.citrus import lime
  from lit_nlp.components.citrus import utils
  import numpy
  from scipy import special
  from scipy import stats
label_desc: Use image node_id 1 for calling the LimeTest obj's underlying member method code with example usage: obj.test_sample_masks_returns_correct_shape_and_type() without return types