Complexity in a two-layer CNN