Hi,
It seems like when doing augmentation in Pytorch it’s possible to perform fillcolor using one predetermined tuple only. Keras allows doing that with the nearest value, as depicted here:

  
      
      keras.io
  
  
    

Keras documentation: Image data preprocessing



  
  
    
    
  
  


I’ll copy the relevant part that shows what it does:
‘nearest’: aaaaaaaa|abcd|dddddddd
Is there any option to do the same in Pytorch?
Thanks