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