class_docstr: Simple input projection layer.
  
  Attributes:
    embed_dim: Size of the output embedding dimension.
    num_groups: Number channel groups for group norm.
    kernel_size: Convolution kernel size.
    stride: Stride in all dimensions.
    padding: Same as nn.Conv padding type.
docstr: Use conv kernel to project into embed_dim.
docstr_tok: ["Use","conv","kernel","to","project","into","embed_dim","."]
code: def __call__(self, x: jnp.ndarray):
      """Use conv kernel to project into embed_dim."""
      if isinstance(self.padding, str):
          padding = self.padding
      else:
          padding = [self.padding] * 2
      x = nn.Conv(
          features=self.embed_dim,
          kernel_size=[self.kernel_size] * 2,
          strides=self.stride,
          padding=padding,
          kernel_init=nn.initializers.glorot_uniform(),
          bias_init=nn.initializers.zeros,
      )(x)
      x = nn.GroupNorm(num_groups=self.num_groups)(x)
      return x
  
imports: import math
  from typing import Any, Dict, Optional, Sequence, Tuple, Union
  from absl import logging
  import flax.linen
  import jax
  import jax.numpy
  import ml_collections
  from scenic.model_lib import matchers
  from scenic.model_lib.base_models import base_model
  from scenic.model_lib.base_models import box_utils
  from scenic.model_lib.base_models import model_utils
  from scenic.projects.baselines.deformable_detr.backbone import DeformableDETRBackbone
  from scenic.projects.baselines.deformable_detr.backbone import InputPosEmbeddingSine
  from scenic.projects.baselines.deformable_detr.backbone import mask_for_shape
  from scenic.projects.baselines.deformable_detr.deformable_transformer import BBoxCoordPredictor
  from scenic.projects.baselines.deformable_detr.deformable_transformer import DeformableDETRTransformer
  from scenic.projects.baselines.deformable_detr.deformable_transformer import inverse_sigmoid
  from scenic.projects.baselines.deformable_detr.deformable_transformer import pytorch_kernel_init
label_desc: Use image node_id 1 for calling the InputProj obj's underlying member method code with example usage: obj.__call__(x) and returns: x