tglite.TBlock.uniq_src

TBlock.uniq_src() Tuple[Tensor, Tensor] | None

Returns a Tensor tuple: (the unique source node indices, the indices of the unique array that reconstructs the source node array) in pre-defined TGraph’s storage device.