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

Method __getitem__

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

Returns the specified piece of this RaggedTensor.

(self, key)

Source from the content-addressed store, hash-verified

1826 # Indexing & Slicing
1827 #=============================================================================
1828 def __getitem__(self, key):
1829 """Returns the specified piece of this RaggedTensor."""
1830 # See ragged_getitem.py for the documentation and implementation of this
1831 # method.
1832 #
1833 # Note: the imports in ragged/__init__.py ensure that this method always
1834 # gets overridden before it is called.
1835
1836 #=============================================================================
1837 # Name Scope

Callers 2

_ragged_getitemFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected