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

Function is_ragged

tensorflow/python/ops/ragged/ragged_tensor.py:1871–1874  ·  view source on GitHub ↗

Returns true if `value` is a ragged tensor or ragged tensor value.

(value)

Source from the content-addressed store, hash-verified

1869
1870
1871def is_ragged(value):
1872 """Returns true if `value` is a ragged tensor or ragged tensor value."""
1873 return isinstance(value,
1874 (RaggedTensor, ragged_tensor_value.RaggedTensorValue))
1875
1876
1877def match_row_splits_dtypes(*tensors, **kwargs):

Callers 2

to_tensorMethod · 0.85
_to_componentsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected