LabelsNestedTensors

class torchaug.ta_tensors.nested.LabelsNestedTensors(tensors)[source]

Implement Labels Nested Tensor for PyTorch.

batch_tensors_type

alias of BatchLabels

tensors_type

alias of Labels

to_batch()[source]

Return the batched labels and the shapes of the nested labels.

Return type:

BatchLabels