Algorithm 1
From: Real time fire and smoke detection using vision transformers and spatiotemporal learning

Algorithm for working of vision transformer (ViT) in a proposed hybrid model.
From: Real time fire and smoke detection using vision transformers and spatiotemporal learning

Algorithm for working of vision transformer (ViT) in a proposed hybrid model.