docstr: Validate label type of the generated labels.
docstr_tok: ["Validate","label","type","of","the","generated","labels","."]
code: def test_label_type(self):
      """Validate label type of the generated labels."""
      (_, y_train), (_, y_test) = test_utils.get_test_data(
          self.train_samples,
          self.test_samples,
          self.input_shape,
          self.num_classes,
      )
      self.assertEqual(y_train.dtype, np.int64)
      self.assertEqual(y_test.dtype, np.int64)
  
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 11 for calling the GetTestDataTest obj's underlying member method code with example usage: obj.test_label_type() without return types