Simplifying deep_copy.py (since TFT depends on sufficiently modern versions of Apache Beam), and fixing a potential variable collision (and silent overriding) for 'tag'.
Simplifying deep_copy.py (since TFT depends on sufficiently modern versions of Apache Beam), and fixing a potential variable collision (and silent overriding) for 'tag'.

PiperOrigin-RevId: 447036754

tensorflow/transform