rfho/utils.py
def _get_base_variable_list(self):
        """
        This methods checks that all the elements of var_list are legitimate (tf.Variables or MergedVariables)
        and returns the underlying tf.Variables.
        :return:
        """
        res = []
        for v in self._var_list:
            if isinstance(v, MergedVariable):
                res.extend(v._get_base_variable_list())
            elif isinstance(v, tf.Variable):
                res.append(v)
            else:
                raise ValueError('something wrong here')
        return res

        This methods checks that all the elements of var_list are legitimate (tf.Variables or MergedVariables)
        and returns the underlying tf.Variables.
        :return:
        
This methods checks that all the elements of var_list are legitimate (tf.Variables or MergedVariables)
and returns the underlying tf.Variables.
This methods checks that all the elements of var_list are legitimate ( tf . Variables or MergedVariables ) and returns the underlying tf . Variables .
def _get_base_variable_list(self):
        res = []
        for v in self._var_list:
            if isinstance(v, MergedVariable):
                res.extend(v._get_base_variable_list())
            elif isinstance(v, tf.Variable):
                res.append(v)
            else:
                raise ValueError('something wrong here')
        return res
def _get_base_variable_list ( self ) : res = [ ] for v in self . _var_list : if isinstance ( v , MergedVariable ) : res . extend ( v . _get_base_variable_list ( ) ) elif isinstance ( v , tf . Variable ) : res . append ( v ) else : raise ValueError ( 'something wrong here' ) return res
This methods checks that all the elements of var_list are legitimate (tf.Variables or MergedVariables)
and returns the underlying tf.Variables.
This methods checks that all the elements of var_list are legitimate ( tf . Variables or MergedVariables ) and returns the underlying tf . Variables .
"""
        This methods checks that all the elements of var_list are legitimate (tf.Variables or MergedVariables)
        and returns the underlying tf.Variables.
        :return:
        """
None
self