code: def test_dense_deserialize_to_dense():
      serialized_block = blocks.serialize(blocks.DenseBlock())
  
      block = blocks.deserialize(serialized_block)
  
      assert isinstance(block, blocks.DenseBlock)
  
imports: import keras_tuner
  import pytest
  import tensorflow
  from tensorflow import keras
  from tensorflow import nest
  from autokeras import blocks
  from autokeras import test_utils
label_desc: Use image node_id 29 for calling a global function with example usage: test_dense_deserialize_to_dense() without return types