This document is relevant for: Trn2, Trn3

nki.language.ds#

nki.language.ds(start, size)[source]#

Create a dynamic slice for tensor indexing. :param start: the start index of the slice. :param size: the size of the slice. :return: a dynamic slice object for use in tensor indexing.

This document is relevant for: Trn2, Trn3