Neural circuit complexity learning