code: def test_embedding_encoder(dropout, factor_configs):
      config = sockeye.encoder.EmbeddingConfig(
          vocab_size=20,
          num_embed=10,
          dropout=dropout,
          factor_configs=factor_configs,
      )
      embedding = sockeye.encoder.Embedding(config)
      assert type(embedding) == sockeye.encoder.Embedding
  
imports: import pytest
  import sockeye.constants
  import sockeye.encoder
  import sockeye.transformer
label_desc: Use image node_id 1 for calling a global function with example usage: test_embedding_encoder(dropout, factor_configs) without return types