Transfer upper (lower) semicontinuous function