parameters: (self)
return_statement: return bprop
docstring: Grad definition for `ReLUV2` operation.
docstring_summary: Grad definition for `ReLUV2` operation.
docstring_tokens: Grad definition for ReLUV2 operation .
function: def get_bprop_relu_v2(self):
      """Grad definition for `ReLUV2` operation."""
      input_grad = G.ReluGradV2()
  
      def bprop(x, out, dout):
          mask = out[1]
          dx = input_grad(dout[0], mask)
          return (dx,)
  
      return bprop
function_tokens: def get_bprop_relu_v2 ( self ) : input_grad = G . ReluGradV2 ( ) def bprop ( x , out , dout ) : mask = out [ 1 ] dx = input_grad ( dout [ 0 ] , mask ) return ( dx , ) return bprop