parameters: (self)
return_statement: return bprop
docstring: Grad definition for `Softsign` operation.
docstring_summary: Grad definition for `Softsign` operation.
docstring_tokens: Grad definition for Softsign operation .
function: def get_bprop_softsign(self):
      """Grad definition for `Softsign` operation."""
      mul = P.Mul()
      absolute = P.Abs()
      div = P.Div()
      square = P.Square()
  
      def bprop(x, out, dout):
          dx = mul(dout, div(1, square(1 + absolute(x))))
          return (dx,)
  
      return bprop
function_tokens: def get_bprop_softsign ( self ) : mul = P . Mul ( ) absolute = P . Abs ( ) div = P . Div ( ) square = P . Square ( ) def bprop ( x , out , dout ) : dx = mul ( dout , div ( 1 , square ( 1 + absolute ( x ) ) ) ) return ( dx , ) return bprop