No. The film depicts Transformers as robotic beings with visual, auditory, and communicative sensors—but no olfactory capability is shown, mentioned, or implied in lore.
They perceive the world through optics, audio receptors, and Cybertronian data networks—not biological senses.