<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def inverse(self):
 """Return the inverse chain of transforms."""

        transforms = self.cpu_transforms + self.gpu_transforms
        inv_transforms = [transform.inverse()
                          for transform in transforms[::-1]]
        return TransformChain().add_on_cpu(inv_transforms)