parameters: (labeled_tensor, dtype=None, name=None)
docstring: Casts a labeled tensor to a new type.
  
    Args:
      labeled_tensor: The input tensor.
      dtype: The type of the returned tensor.
      name: Optional op name.
  
    Returns:
      A labeled tensor with the new dtype.
docstring_summary: Casts a labeled tensor to a new type.
docstring_tokens: Casts a labeled tensor to a new type .
function: def cast(labeled_tensor, dtype=None, name=None):
    """Casts a labeled tensor to a new type.
  
    Args:
      labeled_tensor: The input tensor.
      dtype: The type of the returned tensor.
      name: Optional op name.
  
    Returns:
      A labeled tensor with the new dtype.
    """
    with ops.name_scope(name, 'lt_cast', [labeled_tensor]) as scope:
      labeled_tensor = core.convert_to_labeled_tensor(labeled_tensor)
      op = math_ops.cast(labeled_tensor.tensor, dtype=dtype, name=scope)
      return core.LabeledTensor(op, labeled_tensor.axes)
function_tokens: def cast ( labeled_tensor , dtype = None , name = None ) : with ops . name_scope ( name , 'lt_cast' , [ labeled_tensor ] ) as scope : labeled_tensor = core . convert_to_labeled_tensor ( labeled_tensor ) op = math_ops . cast ( labeled_tensor . tensor , dtype = dtype , name = scope ) return core . LabeledTensor ( op , labeled_tensor . axes )