MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / index

Method index

tensorflow/contrib/labeled_tensor/python/ops/core.py:168–172  ·  view source on GitHub ↗

Returns the integer position of the given tick label.

(self, value)

Source from the content-addressed store, hash-verified

166 return self._labels
167
168 def index(self, value):
169 """Returns the integer position of the given tick label."""
170 if self._index is None:
171 raise ValueError('Axis does not have tick labels')
172 return self._index[value]
173
174
175# tc class for anything that can be coerced into an Axis

Callers 8

selectFunction · 0.95
_efficient_grad_fnMethod · 0.45
transposeFunction · 0.45
concatFunction · 0.45
unpackFunction · 0.45
reshapeFunction · 0.45
output_axesFunction · 0.45
matmulFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected