code: def _cct(
      num_layers,
      num_heads,
      mlp_ratio,
      embedding_dim,
      kernel_size=3,
      stride=None,
      padding=None,
      *args,
      **kwargs,
  ):
      stride = default(stride, max(1, (kernel_size // 2) - 1))
      padding = default(padding, max(1, (kernel_size // 2)))
  
      return CCT(
          num_layers=num_layers,
          num_heads=num_heads,
          mlp_ratio=mlp_ratio,
          embedding_dim=embedding_dim,
          kernel_size=kernel_size,
          stride=stride,
          padding=padding,
          *args,
          **kwargs,
      )
  
imports: import torch
  from torch import nn, einsum
  import torch.nn.functional
  from einops import rearrange, repeat
label_desc: Use image node_id 11 for calling a global function with example usage: _cct(num_layers, num_heads, mlp_ratio, embedding_dim, kernel_size, stride, padding) and returns: CCT