Do our own fp16 conversion in ResampleEffect.