docs: def add_on_cpu(self, transforms):
          """Add some transforms."""
          if not isinstance(transforms, list):
              transforms = [transforms]
          self.cpu_transforms.extend(transforms or [])
          return self