Extreme nonlinearity by layered materials through inverse design | Synapse