ibpy: Add out_size_in mode support

Output size will be set according to input size.  If divide == 1, no
scale will be needed to generate output.