docstr: Ensure class distribution isn't too deterministic.
docstr_tok: ["Ensure","class","distribution","is","n't","too","deterministic","."]
code: def test_randomness_in_class_distribution(self):
      """Ensure class distribution isn't too deterministic."""
      (_, y_train_1), (_, y_test_1) = test_utils.get_test_data(
          self.train_samples,
          self.test_samples,
          self.input_shape,
          self.num_classes,
      )
      (_, y_train_2), (_, y_test_2) = test_utils.get_test_data(
          self.train_samples,
          self.test_samples,
          self.input_shape,
          self.num_classes,
      )
      self.assertFalse(np.array_equal(y_train_1, y_train_2))
      self.assertFalse(np.array_equal(y_test_1, y_test_2))
  
imports: import numpy
  from absl.testing import parameterized
  from keras.testing import test_case
  from keras.testing import test_utils
label_desc: Use image node_id 4 for calling the ClassDistributionTests obj's underlying member method code with example usage: obj.test_randomness_in_class_distribution() without return types