torch
    Preparing search index...

    Function enable_no_grad

    • Disable gradient computation. Returns the previous state so it can be restored later with disable_no_grad(prev).

      Returns boolean