code: def test_ClusterGCN_activations():
      G, _ = create_graph_features()
      generator = ClusterNodeGenerator(G)
  
      # Test activations are set correctly
      cluster_gcn = ClusterGCN(
          layer_sizes=[2], generator=generator, activations=["relu"]
      )
      assert cluster_gcn.activations == ["relu"]
  
      cluster_gcn = ClusterGCN(
          layer_sizes=[2, 2],
          generator=generator,
          activations=["relu", "relu"],
      )
      assert cluster_gcn.activations == ["relu", "relu"]
  
      cluster_gcn = ClusterGCN(
          layer_sizes=[2], generator=generator, activations=["linear"]
      )
      assert cluster_gcn.activations == ["linear"]
  
      with pytest.raises(TypeError):
          # activations for layers must be specified
          ClusterGCN(layer_sizes=[2], generator=generator)
  
      with pytest.raises(ValueError):
          # More activations than layers
          ClusterGCN(
              layer_sizes=[2],
              generator=generator,
              activations=["relu", "linear"],
          )
  
      with pytest.raises(ValueError):
          # Fewer activations than layers
          ClusterGCN(
              layer_sizes=[2, 2],
              generator=generator,
              activations=["relu"],
          )
  
      with pytest.raises(ValueError):
          # Unknown activation
          ClusterGCN(
              layer_sizes=[2],
              generator=generator,
              activations=["bleach"],
          )
  
file_path: stellargraph/tests/layer/test_cluster_gcn.py
imports: from tensorflow.keras import backend
  from stellargraph.layer.cluster_gcn import *
  from stellargraph.mapper import ClusterNodeGenerator
  from stellargraph.core.graph import StellarGraph
  import pandas
  import numpy
  from tensorflow import keras
  import tensorflow
  import pytest
  from ..test_utils.graphs import create_graph_features
  from ..None import test_utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_ClusterGCN_activations() without return types