Imported from https://github.com/athn-nik/neural_asm