R/types.R
as_dtype.Rd
Convert to DataType.
DataType
as_dtype(x)
(any) A dtype string (e.g. "f32", "i64", "bool"; the aliases "pred" and "i1" map to "bool") or a DataType object.
"f32"
"i64"
"bool"
"pred"
"i1"