Skip to contents

Convert to DataType.

Usage

as_dtype(x)

Arguments

x

(any)
Object to convert. Can currently be a string (e.g. "i1", "i32", "f32", ...) or a DataType object.

Value

DataType