Home
last modified time | relevance | path

Searched refs:existing_name (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
Dops.py378 def rename_axis(labeled_tensor, existing_name, new_name, name=None): argument
394 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)