jax-js
    Preparing search index...

    Function stopGradient

    • Stops gradient computation.

      Behaves as the identity function but prevents the flow of gradients during forward or reverse-mode automatic differentiation.

      Parameters

      Returns Array