Convert item to appropriate tensor class

ToTensor(enc = NULL, dec = NULL, split_idx = NULL, order = NULL)

Arguments

enc

encoder

dec

decoder

split_idx

int, split by index

order

order

Value

None