parameters: (x, name="ToInt64")
return_statement: return cast(x, dtypes.int64, name=name)
docstring: Casts a tensor to type `int64`.
  
    Args:
      x: A `Tensor` or `SparseTensor`.
      name: A name for the operation (optional).
  
    Returns:
      A `Tensor` or `SparseTensor` with same shape as `x` with type `int64`.
  
    Raises:
      TypeError: If `x` cannot be cast to the `int64`.
docstring_summary: Casts a tensor to type `int64`.
docstring_tokens: Casts a tensor to type int64 .
function: def to_int64(x, name="ToInt64"):
    """Casts a tensor to type `int64`.
  
    Args:
      x: A `Tensor` or `SparseTensor`.
      name: A name for the operation (optional).
  
    Returns:
      A `Tensor` or `SparseTensor` with same shape as `x` with type `int64`.
  
    Raises:
      TypeError: If `x` cannot be cast to the `int64`.
    """
    return cast(x, dtypes.int64, name=name)
function_tokens: def to_int64 ( x , name = "ToInt64" ) : return cast ( x , dtypes . int64 , name = name )