code: def test_edge_network():
      n_pair_features = 8
      n_hidden = 100
      init = "glorot_uniform"
      layer = dc.models.layers.EdgeNetwork(
          n_pair_features, n_hidden, init
      )
      config = layer.get_config()
      layer_copied = dc.models.layers.EdgeNetwork.from_config(config)
  
      assert layer_copied.n_pair_features == layer.n_pair_features
      assert layer_copied.n_hidden == layer.n_hidden
      assert layer_copied.init == layer.init
  
imports: import deepchem
  import pytest
label_desc: Use image node_id 28 for calling a global function with example usage: test_edge_network() without return types