r2.12 cherry-pick: dfe7acf2207 "Add tag filters to exclude tests tagged no_oss_py3x"
Refer to the original commit: https://github.com/tensorflow/tensorflow/commit/dfe7acf2207708d831ceb1acb6d16b7b096d8383