models/dense_net.py
def weight_variable_xavier(self, shape, name):
        """
        Creates weights for a fully-connected layer, using the Xavier
        initializer (keeps gradient scale roughly the same in all layers).

        Args:
            shape: `list` of `int`, shape of the weight matrix;
            name: `str`, a name for identifying the weight matrix.
        """
        return tf.get_variable(
            name,
            shape=shape,
            initializer=tf.contrib.layers.xavier_initializer())

        Creates weights for a fully-connected layer, using the Xavier
        initializer (keeps gradient scale roughly the same in all layers).

        Args:
            shape: `list` of `int`, shape of the weight matrix;
            name: `str`, a name for identifying the weight matrix.
        
Creates weights for a fully-connected layer, using the Xavier
initializer (keeps gradient scale roughly the same in all layers).
Creates weights for a fully - connected layer using the Xavier initializer ( keeps gradient scale roughly the same in all layers ) .
def weight_variable_xavier(self, shape, name):
        return tf.get_variable(
            name,
            shape=shape,
            initializer=tf.contrib.layers.xavier_initializer())
def weight_variable_xavier ( self , shape , name ) : return tf . get_variable ( name , shape = shape , initializer = tf . contrib . layers . xavier_initializer ( ) )
Creates weights for a fully-connected layer, using the Xavier
initializer (keeps gradient scale roughly the same in all layers).
Creates weights for a fully - connected layer using the Xavier initializer ( keeps gradient scale roughly the same in all layers ) .
"""
        Creates weights for a fully-connected layer, using the Xavier
        initializer (keeps gradient scale roughly the same in all layers).

        Args:
            shape: `list` of `int`, shape of the weight matrix;
            name: `str`, a name for identifying the weight matrix.
        """
self
shape
`list` of `int`, shape of the weight matrix.
` list ` of ` int ` shape of the weight matrix .
name
`str`, a name for identifying the weight matrix.
` str ` a name for identifying the weight matrix .