<div class="cell border-box-sizing code_cell rendered">

<div class="output_wrapper">
<div class="output">

<div class="output_area">


<div class="output_markdown rendered_html output_subarea ">
<h4 id="gradient_momentum" class="doc_header"><code>gradient_momentum</code><a href="https://github.com/dcato98/fastsparse/tree/master/fastsparse/core.py#L185" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>gradient_momentum</code>(<strong><code>p</code></strong>, <strong><code>opt</c