#NEWLINE# def compute_contexts( self , inputs ) : #NEWLINE# #INDENT# 'Computes contexts from inputs.\n\n        Parameters\n        ----------\n        inputs : dict\n            Dictionary of input arrays.\n\n        Returns\n        -------\n        A {name: :class:`numpy.ndarray`} dictionary of contexts ordered\n        like `self.context_names`.\n\n        ' #NEWLINE# contexts = self . context_computer ( * [ inputs [ var ] for var in self . inputs ] ) #NEWLINE# return OrderedDict ( equizip ( inputs . context_names , contexts ) )