Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_getitem.py238 column_key = key_list[0]
239 if column_key is Ellipsis:
246 if column_key is array_ops.newaxis:
255 if isinstance(column_key, slice):
256 if (column_key.start is None and column_key.stop is None and
257 column_key.step is None):
267 if column_key.start is not None and column_key.start != 0:
269 column_key.start, rt_input.row_splits[:-1], rt_input.row_splits[1:])
270 if column_key.stop is not None and column_key.stop != 0:
272 column_key.stop, rt_input.row_splits[:-1], rt_input.row_splits[1:])
[all …]
/external/tensorflow/tensorflow/contrib/tensor_forest/python/ops/
Ddata_ops.py100 def GetColumnName(column_key, col_num): argument
101 if isinstance(column_key, str):
102 return column_key
104 return getattr(column_key, 'column_name', str(col_num))