def testValidPower_ImplicitlyConvertsToFloat32(self):
    powers = [2, 10, 1.1]
    for power in powers:
        zipf = tfd.Zipf(power=power, validate_args=True)
        self.assertEqual(zipf.power.dtype, tf.float32)
def testValidPower_ImplicitlyConvertsToFloat32(self):
    powers = [2, 10, 1.1]
    for power in powers:
        zipf = tfd.Zipf(power=power, validate_args=True)
        self.assertEqual(zipf.power.dtype, tf.float32)