Condition-Aware Neural Network for Controlled Image Generation