code: def test_size(self):
      self.assertEqual(dtype_util.size(tf.int32), 4)
      self.assertEqual(dtype_util.size(tf.int64), 8)
      self.assertEqual(dtype_util.size(tf.float32), 4)
      self.assertEqual(dtype_util.size(tf.float64), 8)
  
      self.assertEqual(dtype_util.size(np.int32), 4)
      self.assertEqual(dtype_util.size(np.int64), 8)
      self.assertEqual(dtype_util.size(np.float32), 4)
      self.assertEqual(dtype_util.size(np.float64), 8)
  
imports: import dataclasses
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 3 for calling the FloatDTypeTest obj's underlying member method code with example usage: obj.test_size() without return types