Searched refs:existing_axes (Results 1 – 1 of 1) sorted by relevance
301 def reshape(labeled_tensor, existing_axes, new_axes, name=None): argument330 existing_axes = list(existing_axes)331 if not set(existing_axes) <= set(original_axis_names):334 (existing_axes, original_axis_names))336 start = original_axis_names.index(existing_axes[0])337 stop = original_axis_names.index(existing_axes[-1]) + 1339 if existing_axes != original_axis_names[start:stop]:351 (existing_axes, original_axis_names))