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

Function _nrows

tensorflow/python/ops/ragged/ragged_where_op.py:163–167  ·  view source on GitHub ↗
(rt_input, out_type)

Source from the content-addressed store, hash-verified

161
162
163def _nrows(rt_input, out_type):
164 if isinstance(rt_input, ragged_tensor.RaggedTensor):
165 return rt_input.nrows(out_type=out_type)
166 else:
167 return array_ops.shape(rt_input, out_type=out_type)[0]

Callers 1

_elementwise_whereFunction · 0.70

Calls 2

nrowsMethod · 0.80
shapeMethod · 0.45

Tested by

no test coverage detected