nujo/flow.py
def _total_parameters(self) -> Tensor:
        ''' Returns an iterable of all the parameters of the current flow

        Including those of other flows that are used in the current one
        (namely other flows bounded to `self`).

        '''

        total_params = [self._current_parameters()]

        for prop_name in dir(self):
            prop = getattr(self, prop_name)

            if isinstance(prop, Flow):
                total_params.append(prop.parameters())

        return chain(*total_params)
 Returns an iterable of all the parameters of the current flow

        Including those of other flows that are used in the current one
        (namely other flows bounded to `self`).

        
Returns an iterable of all the parameters of the current flow
Including those of other flows that are used in the current one
(namely other flows bounded to `self`).
Returns an iterable of all the parameters of the current flow Including those of other flows that are used in the current one ( namely other flows bounded to ` self ` ) .
def _total_parameters(self) -> Tensor:
        total_params = [self._current_parameters()]
        for prop_name in dir(self):
            prop = getattr(self, prop_name)
            if isinstance(prop, Flow):
                total_params.append(prop.parameters())
        return chain(*total_params)
def _total_parameters ( self ) -> Tensor : total_params = [ self . _current_parameters ( ) ] for prop_name in dir ( self ) : prop = getattr ( self , prop_name ) if isinstance ( prop , Flow ) : total_params . append ( prop . parameters ( ) ) return chain ( * total_params )
Returns an iterable of all the parameters of the current flow
Including those of other flows that are used in the current one
(namely other flows bounded to `self`).
Returns an iterable of all the parameters of the current flow Including those of other flows that are used in the current one ( namely other flows bounded to ` self ` ) .
''' Returns an iterable of all the parameters of the current flow

        Including those of other flows that are used in the current one
        (namely other flows bounded to `self`).

        '''
self