Cardamom pods are used whole.
Some people carefully ensure they are all found and removed prior to serving, and I have seen it suggested that whole spices can be tied up in a muslin bag before putting into the hot oil to make their removal easier. I’m not sure how this would impact the oils from the spices being drawn into the hot oil.
Personally any I see floating on top are removed before serving, and any ending up on my plate are pushed to one side.