Skip to contents

Convert to DataType.

Usage

as_dtype(x)

Arguments

x

(any)
A dtype string (e.g. "f32", "i64", "bool"; the aliases "pred" and "i1" map to "bool") or a DataType object.

Value

DataType