Fractal and Regular Geometry of Deep Neural Networks