Created by: walloollaw
changes for this commit: 1, fix bug in 'custom_layers' when call custom layer functions 2, move the code for defing a custom net using fluid to net_template.py to make it more readable 3, fix bug in normalize_pb_data when 'fc' layers' weight is not corrected reshaped 4, support save inference mode with multiple outputs