ART: Refactor generate_operator_out.py am: 2ad19bc61d am: b1a3bea29a
am: 8ef94adc8f

Change-Id: Ie40b0283c7cbe2a101e569d0f10b445887c9f9ca