Extended Derdziński–Shen theorem for curvature tensors