code: def test_complex_input_dense(self):
      dense = nn.Dense(features=2)
      x = jnp.ones((1, 2), jnp.complex64)
      variables = dense.init(random.key(0), x)
      self.assertEqual(variables["params"]["kernel"].dtype, jnp.float32)
      self.assertEqual(variables["params"]["bias"].dtype, jnp.float32)
      y = dense.apply(variables, x)
      self.assertEqual(y.dtype, jnp.complex64)
  
imports: import functools
  import jax
  import jax.numpy
  import numpy
  from absl.testing import absltest, parameterized
  from jax import random
  from jax.nn import initializers
  from flax import linen
label_desc: Use image node_id 11 for calling the LinearTest obj's underlying member method code with example usage: obj.test_complex_input_dense() without return types