Tensorflow Machine Learning C++ API and G'MIC

I know this is huge project, but my main question is how feasible would it be to have tensorflow machine learning support for G’MIC? Particularly to provide machine learning-based filters for G’MIC.