Returns the specified piece of this RaggedTensor.
(self, key)
| 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 |
no outgoing calls
no test coverage detected