The CNN universal machine Part 1: The architecture