Is there set_rf_samples similiar techs available in deep Learning?

I am Learning the course “Introduction to Machine Learning for Coders” ,
one of the amazing feature introduced by fast.ai is “set_rf_samples” in machine Learning. It enable me to train my model with small dataset first.
I wonder, is there similar feature in deep Learning ?