parameters: (tensor_name, removed_op_names)
docstring: Verify that the named tensor was not removed.
  
    Args:
      tensor_name: the name of a tensor to check.
      removed_op_names: An iterable of names of ops that were removed.
  
    Raises:
      ValueError: if the tensor was removed.
docstring_summary: Verify that the named tensor was not removed.
docstring_tokens: Verify that the named tensor was not removed .
function: def _check_tensor_not_removed(tensor_name, removed_op_names):
    """Verify that the named tensor was not removed.
  
    Args:
      tensor_name: the name of a tensor to check.
      removed_op_names: An iterable of names of ops that were removed.
  
    Raises:
      ValueError: if the tensor was removed.
    """
    if not tensor_name:
      raise ValueError('Tensor name should not be empty')
    if _is_removed(tensor_name, removed_op_names):
      raise ValueError(
          'Expected Tensor, but it was removed: {}'.format(tensor_name))
function_tokens: def _check_tensor_not_removed ( tensor_name , removed_op_names ) : if not tensor_name : raise ValueError ( 'Tensor name should not be empty' ) if _is_removed ( tensor_name , removed_op_names ) : raise ValueError ( 'Expected Tensor, but it was removed: {}' . format ( tensor_name ) )