Move details of variable printing out of the generated code.

This will make upcoming changes to support fp16 and double easier.

Change-Id: I80605771906ae7b9751978fa91795848ef1710ba
1 file changed