class_docstr: Context-manager and decorator that disables gradient calculation.
  See `torch.autograd.no_grad <https://pytorch.org/docs/stable/autograd.html#torch.autograd.no_grad>`_
class_docstr_tok: ["Context-manager","and","decorator","that","disables","gradient","calculation",".","See","`","torch.autograd.no_grad","<","https",":","\/\/pytorch.org\/docs\/stable\/autograd.html","#","torch.autograd.no_grad",">","`","_"]
code: def call(self, func):
      @functools.wraps(func)
      def decorate_no_grad(*args, **kwargs):
          with self:
              return func(*args, **kwargs)
  
      return decorate_no_grad
  
imports: import functools
  import traceback
  import warnings
  import torch
  from packaging import version
  import torchbearer
  import sys
label_desc: Use image node_id 2 for calling the no_grad obj's underlying member method code with example usage: obj.call(func) and returns: decorate_no_grad, func