def METHOD_NAME(self):
    input_1, input_2 = np.array([1]), np.array([1])
    layer = layers.HashedCrossing(num_bins=2)
    output_dtype = backend.standardize_dtype(
        layer((input_1, input_2)).dtype
    )
    self.assertEqual(output_dtype, "int64")
    layer = layers.HashedCrossing(num_bins=2, dtype="int32")
    output_dtype = backend.standardize_dtype(
        layer((input_1, input_2)).dtype
    )
    self.assertEqual(output_dtype, "int32")
    layer = layers.HashedCrossing(num_bins=2, output_mode="one_hot")
    output_dtype = backend.standardize_dtype(
        layer((input_1, input_2)).dtype
    )
    self.assertEqual(output_dtype, "float32")
    layer = layers.HashedCrossing(
        num_bins=2, output_mode="one_hot", dtype="float64"
    )
    output_dtype = backend.standardize_dtype(
        layer((input_1, input_2)).dtype
    )
    self.assertEqual(output_dtype, "float64")