Apply Tfms

for a given Image Object i want to run it through list of tfms i have for say 4 times so that i can do average of predictions made for each run of tfms.

  1. how i can do that ?

  2. if i do some thing like this
    Can i assume that apply_tfms will have applied list of all transforms with probabilities define for randomness ?

     l    =[learn2.predict([0][0].apply_tfms( ))[2] for _ in range(4)]
         torch.stack(l ).size()

    output 4*6