code: def test_embedding_layer(
      *,
      embedding_args,
      weight_initializer,
      init_with_v,
      method_with_v,
      seed,
      on_device,
      class_name,
      method_name,
      backend_fw,
      ground_truth_backend,
      init_flags,
      method_flags,
  ):
      ivy.seed(seed_value=seed)
      (
          num_embeddings,
          embedding_dim,
          dtype_indices,
          indices,
          padding_idx,
          max_norm,
      ) = embedding_args
      dtype = dtype_indices
      helpers.test_method(
          backend_to_test=backend_fw,
          ground_truth_backend=ground_truth_backend,
          init_flags=init_flags,
          method_flags=method_flags,
          init_all_as_kwargs_np={
              "num_embeddings": num_embeddings,
              "embedding_dim": embedding_dim,
              "padding_idx": padding_idx,
              "max_norm": max_norm,
              "device": on_device,
              "dtype": dtype[0],
          },
          method_all_as_kwargs_np={"indices": indices[0]},
          method_input_dtypes=dtype,
          class_name=class_name,
          method_name=method_name,
          init_with_v=init_with_v,
          method_with_v=method_with_v,
          rtol_=1e-02,
          atol_=1e-02,
          on_device=on_device,
      )
  
imports: import numpy
  from hypothesis import assume
  from hypothesis import strategies
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy.data_classes.container import Container
  from ivy.functional.ivy.gradients import _variable
  from ivy.functional.ivy.layers import _deconv_length
  from ivy_tests.test_ivy.helpers import handle_method
  from ivy_tests.test_ivy.helpers.assertions import assert_same_type_and_shape
  from ivy_tests.test_ivy.test_functional.test_experimental.test_nn import test_layers
  from ivy_tests.test_ivy.test_functional.test_experimental.test_nn.test_layers import _valid_dct
label_desc: Use image node_id 23 for calling a global function with example usage: test_embedding_layer() without return types