message: Sanitize dtypes in filenames in normalization_test.
diff: @@ -105,8 +105,16 @@ class BNTest(test.TestCase):
  infer_use_gpu):
  batch, height, width, input_channels = 2, 4, 5, 3
  shape = [batch, height, width, input_channels]
  - checkpoint = os.path.join(self.get_temp_dir(), 'cp_%s_%s_%s_%s' %
  - (dtype, train1_use_gpu, train2_use_gpu,
  +
  + # Not all characters in a dtype string representation are allowed in
  + # filenames in all operating systems. This map will sanitize these.
  + dtype_to_valid_fn = {
  + dtypes.float16: 'float16',
  + dtypes.float32: 'float32',
  + }
  + checkpoint = os.path.join(
  + self.get_temp_dir(), 'cp_%s_%s_%s_%s' % (
  + dtype_to_valid_fn[dtype], train1_use_gpu, train2_use_gpu,
  infer_use_gpu))
  self._train(
  