def cifarnet_arg_scope(weight_decay=0.004):
 with slim.arg_scope([slim.conv2d], weights_initializer=tf.truncated_normal_initializer(stddev=0.05), activation_fn=tf.nn.relu):
  with slim.arg_scope([slim.fully_connected], biases_initializer=tf.constant_initializer(0.1), weights_initializer=trunc_normal(0.04), weights_regularizer=slim.l2_regularizer(weight_decay), activation_fn=tf.nn.relu) as sc:
   return sc

def cifarnet_arg_scope ( weight_decay = 0.004 ) : with slim . arg_scope ( [ slim . conv2d ] , weights_initializer = tf . truncated_normal_initializer ( stddev = 0.05 ) , activation_fn = tf . nn . relu ) : with slim . arg_scope ( [ slim . fully_connected ] , biases_initializer = tf . constant_initializer ( 0.1 ) , weights_initializer = trunc_normal ( 0.04 ) , weights_regularizer = slim . l2_regularizer ( weight_decay ) , activation_fn = tf . nn . relu ) as sc : return sc
defines the default cifarnet argument scope .