def update(self, features: torch.Tensor, group: str | None = None) -> None:
        """Update the feature bank with new features.

        Args:
            features (torch.Tensor): Feature vectors of shape ``(N, D)`` to add to
                the memory bank.
            group (str | None, optional): Unused group parameter included for
                interface compatibility. Defaults to ``None``.
        """
        del group
        if isinstance(self.memory_bank, list):
            self.memory_bank.append(features)
Update the feature bank with new features.

        Args:
            features (torch.Tensor): Feature vectors of shape ``(N, D)`` to add to
                the memory bank.
            group (str | None, optional): Unused group parameter included for
                interface compatibility. Defaults to ``None``.
        
src/anomalib/models/video/ai_vad/density.py