Connectivity-Inspired Network for Context-Aware Recognition