ViFT receives test histories for each test location and determines the next test location and intensity of stimulus. ViFT can learn the spatial relationships because ViFT has transformer structures.