Convert to TensorDataType.
Arguments
- x
(any)
Object to convert. Can currently be a string (one of pred, i8, i16, i32, i64, ui8, ui16, ui32, ui64, f32, f64) or aTensorDataTypeobject.
Convert to TensorDataType.
(any)
Object to convert.
Can currently be a string (one of pred, i8, i16, i32, i64, ui8, ui16, ui32, ui64, f32, f64) or a TensorDataType object.