code: def test_dag_gather():
      n_graph_feat = 30
      n_outputs = 30
      max_atoms = 50
      layer_sizes = [100]
      init = "glorot_uniform"
      activation = "relu"
      dropout = None
  
      layer = dc.models.layers.DAGGather(
          n_graph_feat,
          n_outputs,
          max_atoms,
          layer_sizes,
          init,
          activation,
          dropout,
      )
      config = layer.get_config()
      layer_copied = dc.models.layers.DAGGather.from_config(config)
  
      assert layer_copied.n_graph_feat == layer.n_graph_feat
      assert layer_copied.n_outputs == layer.n_outputs
      assert layer_copied.max_atoms == layer.max_atoms
      assert layer_copied.layer_sizes == layer.layer_sizes
      assert layer_copied.init == layer.init
      assert layer_copied.activation == layer.activation
      assert layer_copied.dropout == layer.dropout
  
imports: import deepchem
  import pytest
label_desc: Use image node_id 26 for calling a global function with example usage: test_dag_gather() without return types