Searched refs:existing_name (Results 1 – 1 of 1) sorted by relevance
378 def rename_axis(labeled_tensor, existing_name, new_name, name=None): argument394 if existing_name not in labeled_tensor.axes:397 (existing_name, labeled_tensor.axes.keys()))398 new_axis = core.Axis(new_name, labeled_tensor.axes[existing_name].value)399 return reshape(labeled_tensor, [existing_name], [new_axis], name=scope)