parameters: (x, name=None)
docstring: r"""Computes square root of x element-wise.
  
    I.e., \\(y = \sqrt{x} = x^{1/2}\\).
  
    Args:
      x: A `Tensor` or `SparseTensor`. Must be one of the following types: `half`,
        `float32`, `float64`, `complex64`, `complex128`.
      name: A name for the operation (optional).
  
    Returns:
      A `Tensor` or `SparseTensor`, respectively. Has the same type as `x`.
docstring_summary: r"""Computes square root of x element-wise.
docstring_tokens: r Computes square root of x element - wise .
function: def sqrt(x, name=None):
    r"""Computes square root of x element-wise.
  
    I.e., \\(y = \sqrt{x} = x^{1/2}\\).
  
    Args:
      x: A `Tensor` or `SparseTensor`. Must be one of the following types: `half`,
        `float32`, `float64`, `complex64`, `complex128`.
      name: A name for the operation (optional).
  
    Returns:
      A `Tensor` or `SparseTensor`, respectively. Has the same type as `x`.
    """
    with ops.name_scope(name, "Sqrt", [x]) as name:
      if isinstance(x, sparse_tensor.SparseTensor):
        x_sqrt = gen_math_ops.sqrt(x.values, name=name)
        return sparse_tensor.SparseTensor(
            indices=x.indices, values=x_sqrt, dense_shape=x.dense_shape)
      else:
        return gen_math_ops.sqrt(x, name=name)
function_tokens: def sqrt ( x , name = None ) : with ops . name_scope ( name , "Sqrt" , [ x ] ) as name : if isinstance ( x , sparse_tensor . SparseTensor ) : x_sqrt = gen_math_ops . sqrt ( x . values , name = name ) return sparse_tensor . SparseTensor ( indices = x . indices , values = x_sqrt , dense_shape = x . dense_shape ) else : return gen_math_ops . sqrt ( x , name = name )