    def clear(self) -> None:
        """Remove all items from the ParameterDict."""
        for k in self._keys.copy():
            del self[k]
Remove all items from the ParameterDict.
python/aitemplate/frontend/nn/container.py