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

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
defines the vgg arg scope .