code: def get_emb_sz(
      to: Tabular | TabularPandas,
      sz_dict: dict = None,  # Dictionary of {'class_name' : size, ...} to override default `emb_sz_rule`
  ) -> list:  # List of embedding sizes for each category
      "Get embedding size for each cat_name in `Tabular` or `TabularPandas`, or populate embedding size manually using sz_dict"
      return [_one_emb_sz(to.classes, n, sz_dict) for n in to.cat_names]
  
file_path: fastai/fastai/tabular/model.py
imports: from __future__ import annotations
  from ..torch_basics import *
  from .core import *
label_desc: Use image node_id 3 for calling a global function with example usage: get_emb_sz(to, sz_dict) and returns: unknown