def lenet_arg_scope(weight_decay=0.0):
 with slim.arg_scope([slim.conv2d, slim.fully_connected], weights_regularizer=slim.l2_regularizer(weight_decay), weights_initializer=tf.truncated_normal_initializer(stddev=0.1), activation_fn=tf.nn.relu) as sc:
  return sc

def lenet_arg_scope ( weight_decay = 0.0 ) : with slim . arg_scope ( [ slim . conv2d , slim . fully_connected ] , weights_regularizer = slim . l2_regularizer ( weight_decay ) , weights_initializer = tf . truncated_normal_initializer ( stddev = 0.1 ) , activation_fn = tf . nn . relu ) as sc : return sc
defines the default lenet argument scope .