Reverse-engineering deep ReLU networks