torchdms.data.check_onehot_encoding

torchdms.data.check_onehot_encoding(dataset)[source]

Asserts that the tensor onehot encoding we have in the Datasets is the same as one that we make ourselves from the strings.