(weight_decay=0.0005)
Defines the VGG arg scope.

  Args:
    weight_decay: The l2 regularization coefficient.

  Returns:
    An arg_scope.
Defines the VGG arg scope.
Defines the VGG arg scope .
def vgg_arg_scope(weight_decay=0.0005):
  """Defines the VGG arg scope.

  Args:
    weight_decay: The l2 regularization coefficient.

  Returns:
    An arg_scope.
  """
  with slim.arg_scope([slim.conv2d, slim.fully_connected],
                      activation_fn=tf.nn.relu,
                      weights_regularizer=slim.l2_regularizer(weight_decay),
                      biases_initializer=tf.zeros_initializer()):
    with slim.arg_scope([slim.conv2d], padding='SAME') as arg_sc:
      return arg_sc
def vgg_arg_scope ( weight_decay = 0.0005 ) : with slim . arg_scope ( [ slim . conv2d , slim . fully_connected ] , activation_fn = tf . nn . relu , weights_regularizer = slim . l2_regularizer ( weight_decay ) , biases_initializer = tf . zeros_initializer ( ) ) : with slim . arg_scope ( [ slim . conv2d ] , padding = 'SAME' ) as arg_sc : return arg_sc