Skip to contents

Converts a data frame of categorical data into a long tensor by converting the data to integers. No input checks are performed.

Usage

batchgetter_categ(data, device, ...)

Arguments

data

(data.table)
data.table to be converted to a tensor.

device

(character(1))
The device.

...

(any)
Unused.