parameters: (x)
return_statement: return jt.ternary((x>0.0), x, jt.broadcast_var(0.0, x))
docstring: r''' Applies the element-wise function:
  
      .. math::
          \text{ReLU6}(x) = \max(0,x)
  
      :param x: the input var
      :type x: jt.Var
  
      Example:
          >>> a = jt.randn(3)
          >>> a
          jt.Var([-0.38380373 1.1338731   6.128115  ], dtype=float32)
          >>> nn.relu(a)
          jt.Var([0.        1.1338731 6.128115 ], dtype=float32)
docstring_summary: r''' Applies the element-wise function:
docstring_tokens: r Applies the element - wise function :
function: def relu(x): 
      r''' Applies the element-wise function:
  
      .. math::
          \text{ReLU6}(x) = \max(0,x)
  
      :param x: the input var
      :type x: jt.Var
  
      Example:
          >>> a = jt.randn(3)
          >>> a
          jt.Var([-0.38380373 1.1338731   6.128115  ], dtype=float32)
          >>> nn.relu(a)
          jt.Var([0.        1.1338731 6.128115 ], dtype=float32)
      '''
      return jt.ternary((x>0.0), x, jt.broadcast_var(0.0, x))
function_tokens: def relu ( x ) : return jt . ternary ( ( x > 0.0 ) , x , jt . broadcast_var ( 0.0 , x ) )