parameters: (optimizer)
return_statement: return OptimizerWithSparsityGuarantee(optimizer)
docstring: r"""
          This is the implementation of `sparsity.decorate`, for details please see explanation in `sparsity.decorate`.
docstring_summary: r"""
          This is the implementation of `sparsity.decorate`, for details please see explanation in `sparsity.decorate`.
docstring_tokens: r This is the implementation of sparsity . decorate for details please see explanation in sparsity . decorate .
function: def decorate(optimizer):
          r"""
          This is the implementation of `sparsity.decorate`, for details please see explanation in `sparsity.decorate`.
          """
          return OptimizerWithSparsityGuarantee(optimizer)
function_tokens: def decorate ( optimizer ) : return OptimizerWithSparsityGuarantee ( optimizer )