code: def test_create_lora_adapter_embedding(rank, alpha, target_modules):
      model = init_model()
      create_lora_adapter(
          model=model,
          rank=rank,
          alpha=alpha,
          target_modules=target_modules,
      )
  
      assert model.embed[0].lora_A.shape[0] == rank
      assert model.embed[0].lora_B.shape[1] == rank
  
file_path: espnet/test/espnet2/layers/test_create_lora_adapter.py
imports: import sys
  import pytest
  import torch
  from packaging.version import parse
  from espnet2.asr.decoder.transformer_decoder import TransformerDecoder
  from espnet2.layers.create_lora_adapter import create_lora_adapter
label_desc: Use image node_id 3 for calling a global function with example usage: test_create_lora_adapter_embedding(rank, alpha, target_modules) without return types