parameters: (x, y)
return_statement: return F.tensor_sub(x, prod)
docstring: Computes x mod y.
docstring_summary: Computes x mod y.
docstring_tokens: Computes x mod y .
function: def _mod(x, y):
      """Computes x mod y."""
      quotient = F.tensor_floordiv(x, y)
      prod = F.tensor_mul(y, quotient)
      return F.tensor_sub(x, prod)
function_tokens: def _mod ( x , y ) : quotient = F . tensor_floordiv ( x , y ) prod = F . tensor_mul ( y , quotient ) return F . tensor_sub ( x , prod )