rfho/utils.py
def var_list(self, mode=VlMode.RAW):
        """
        Get the chunks that define this variable.

        :param mode: (optional, default VL_MODE.RAW) VL_MODE.RAW: returns simply var_list, that may contain tf.Variables
                         or MergedVariables
                     VL_MODE.BASE: returns a list of tf.Variables that are the "base" variables that for this
                     MergedVariable
                     VL_MODE.TENSOR: returns a list of tf.Variables or tf.Tensor from the MergedVariables
        :return: A list that may contain tf.Tensors, tf.Variables and/or MergedVariables
        """
        if mode == VlMode.RAW:
            return self._var_list
        elif mode == VlMode.BASE:
            return self._get_base_variable_list()
        elif mode == VlMode.TENSOR:
            return self._var_list_as_tensors()  # return w unic tensor + copies augmented
        else:
            raise NotImplementedError('mode %d does not exists' % mode)

        Get the chunks that define this variable.

        :param mode: (optional, default VL_MODE.RAW) VL_MODE.RAW: returns simply var_list, that may contain tf.Variables
                         or MergedVariables
                     VL_MODE.BASE: returns a list of tf.Variables that are the "base" variables that for this
                     MergedVariable
                     VL_MODE.TENSOR: returns a list of tf.Variables or tf.Tensor from the MergedVariables
        :return: A list that may contain tf.Tensors, tf.Variables and/or MergedVariables
        
Get the chunks that define this variable.
Get the chunks that define this variable .
def var_list(self, mode=VlMode.RAW):
        if mode == VlMode.RAW:
            return self._var_list
        elif mode == VlMode.BASE:
            return self._get_base_variable_list()
        elif mode == VlMode.TENSOR:
            return self._var_list_as_tensors()  
        else:
            raise NotImplementedError('mode %d does not exists' % mode)
def var_list ( self , mode = VlMode . RAW ) : if mode == VlMode . RAW : return self . _var_list elif mode == VlMode . BASE : return self . _get_base_variable_list ( ) elif mode == VlMode . TENSOR : return self . _var_list_as_tensors ( ) else : raise NotImplementedError ( 'mode %d does not exists' % mode )
Get the chunks that define this variable.
Get the chunks that define this variable .
"""
        Get the chunks that define this variable.

        :param mode: (optional, default VL_MODE.RAW) VL_MODE.RAW: returns simply var_list, that may contain tf.Variables
                         or MergedVariables
                     VL_MODE.BASE: returns a list of tf.Variables that are the "base" variables that for this
                     MergedVariable
                     VL_MODE.TENSOR: returns a list of tf.Variables or tf.Tensor from the MergedVariables
        :return: A list that may contain tf.Tensors, tf.Variables and/or MergedVariables
        """ # return w unic tensor + copies augmented
A list that may contain tf.Tensors, tf.Variables and/or MergedVariables
A list that may contain tf . Tensors tf . Variables and / or MergedVariables
self
mode
(optional, default VL_MODE.RAW) VL_MODE.RAW: returns simply var_list, that may contain tf.Variables
or MergedVariables
VL_MODE.BASE: returns a list of tf.Variables that are the "base" variables that for this
MergedVariable
VL_MODE.TENSOR: returns a list of tf.Variables or tf.Tensor from the MergedVariables
( optional default VL_MODE . RAW ) VL_MODE . RAW : returns simply var_list that may contain tf . Variables or MergedVariables VL_MODE . BASE : returns a list of tf . Variables that are the " base " variables that for this MergedVariable VL_MODE . TENSOR : returns a list of tf . Variables or tf . Tensor from the MergedVariables