 No universally agreed upon threshold of depth divides shallow learning from deep learning, but most researchers agree that deep learning involves CAP depth higher than 2.CAP of depth 2 has been shown to be a universal approximator in the sense that it can emulate any function.Beyond that, more layers do not add to the function approximator ability of the network.