GPU accelerated machine learning for real-time compositing