def get_data_values(self, name: str, truncate_last: Optional[bool]=False):
    '\n        Return the data tensor stored under the given name.\n\n        :param name: data name\n        :param truncate_last: True to truncate the length+1 entry if present\n        '
    assert (name in self._data_names)
    entry = self.__dict__[name]
    if truncate_last:
        entry = self._truncate_after_last(entry)
    return entry
Return the data tensor stored under the given name.

:param name: data name
:param truncate_last: True to truncate the length+1 entry if present
def get_data_values(self, name: str, truncate_last: Optional[bool]=False):
    '\n        Return the data tensor stored under the given name.\n\n        :param name: data name\n        :param truncate_last: True to truncate the length+1 entry if present\n        '
    assert (name in self._data_names)
    entry = self.__dict__[name]
    if truncate_last:
        entry = self._truncate_after_last(entry)
    return entry