def METHOD_NAME(self) -> None:
    """Test that 'Serializer' operates well on numpy arrays and scalars."""
    array = np.random.normal(size=(32, 128))
    self.assert_serializable(array, lambda x, y: bool(np.all(x == y)))
    scalar = np.mean(array)
    self.assert_serializable(scalar)