Converts a data frame of numeric data into a float tensor by calling as.matrix()
.
No input checks are performed
Arguments
- data
(
data.table()
)data.table
to be converted to atensor
.- device
(
character(1)
)
The device on which the tensor should be created.- ...
(any)
Unused.