def popitem(self) -> Tuple[str, Any]:
        """Remove and return the last inserted `(key, parameter)` pair
        from the ParameterDict
        """
        k, _ = self._keys.popitem()
        # We need the key in the _keys to be able to access/del
        self._keys[k] = None
        val = self[k]
        del self[k]
        return k, val
Remove and return the last inserted `(key, parameter)` pair
        from the ParameterDict
        
python/aitemplate/frontend/nn/container.py