def max_samples(self) -> int:
        """Returns the maximum number of samples."""
        count = 1
        for space in self._search_spaces:
            count *= len(space)
        return count
Returns the maximum number of samples.
olive/search/search_strategy.py