code: def test_dtnn_embedding():
      n_embedding = 30
      periodic_table_length = 30
      init = "glorot_uniform"
  
      layer = dc.models.layers.DTNNEmbedding(
          n_embedding, periodic_table_length, init
      )
      config = layer.get_config()
      layer_copied = dc.models.layers.DTNNEmbedding.from_config(config)
  
      assert layer_copied.n_embedding == layer.n_embedding
      assert (
          layer_copied.periodic_table_length
          == layer.periodic_table_length
      )
      assert layer_copied.init == layer.init
  
imports: import deepchem
  import pytest
label_desc: Use image node_id 22 for calling a global function with example usage: test_dtnn_embedding() without return types