<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def var(self):
 """ Compute the variance across images. """

        return self._constructor(self.values.var(axis=0, keepdims=True))