def inception_v3_parameters(weight_decay=4e-05, stddev=0.1, batch_norm_decay=0.9997, batch_norm_epsilon=0.001):
 with scopes.arg_scope([ops.conv2d, ops.fc], weight_decay=weight_decay):
  with scopes.arg_scope([ops.conv2d], stddev=stddev, activation=tf.nn.relu, batch_norm_params={'decay': batch_norm_decay, 'epsilon': batch_norm_epsilon}) as arg_scope:
   (yield arg_scope)

def inception_v3_parameters ( weight_decay = 4e-05 , stddev = 0.1 , batch_norm_decay = 0.9997 , batch_norm_epsilon = 0.001 ) : with scopes . arg_scope ( [ ops . conv2d , ops . fc ] , weight_decay = weight_decay ) : with scopes . arg_scope ( [ ops . conv2d ] , stddev = stddev , activation = tf . nn . relu , batch_norm_params = { 'decay' : batch_norm_decay , 'epsilon' : batch_norm_epsilon } ) as arg_scope : ( yield arg_scope )
yields the scope with the default parameters for inception_v3 .