(weight_decay=0.0)
Defines the default mobilenet argument scope.

  Args:
    weight_decay: The weight decay to use for regularizing the model.

  Returns:
    An `arg_scope` to use for the MobileNet model.
Defines the default mobilenet argument scope.
Defines the default mobilenet argument scope .
def mobilenet_arg_scope(weight_decay=0.0):
  """Defines the default mobilenet argument scope.

  Args:
    weight_decay: The weight decay to use for regularizing the model.

  Returns:
    An `arg_scope` to use for the MobileNet model.
  """
  with slim.arg_scope(
      [slim.convolution2d, slim.separable_convolution2d],
      weights_initializer=slim.initializers.xavier_initializer(),
      biases_initializer=slim.init_ops.zeros_initializer(),
      weights_regularizer=slim.l2_regularizer(weight_decay)) as sc:
    return sc
def mobilenet_arg_scope ( weight_decay = 0.0 ) : with slim . arg_scope ( [ slim . convolution2d , slim . separable_convolution2d ] , weights_initializer = slim . initializers . xavier_initializer ( ) , biases_initializer = slim . init_ops . zeros_initializer ( ) , weights_regularizer = slim . l2_regularizer ( weight_decay ) ) as sc : return sc