Just an FYI - you can achieve this in 3 layers. It does not need to be deep.
<a href="https://github.com/charliec443/TreeGrad">https://github.com/charliec443/TreeGrad</a>
You can also use Tensorflow decision forest to begin with [1].<p>[1] <a href="https://www.tensorflow.org/decision_forests" rel="nofollow noreferrer">https://www.tensorflow.org/decision_forests</a>
See also hummingbird [1]<p>[1]: <a href="https://github.com/microsoft/hummingbird">https://github.com/microsoft/hummingbird</a>