fix parameter for transformation in ImageDataLayer constructor