Nanoimprint lithography enables memristor crossbars and hybrid circuits