This condition will almost never happen, since the outputs are usually on the CPU.  Also, this op is a view, so the result would have to be deepcopied anyway.  I see no gain in preventing constant folding in this case.