[−][src]Trait menoh::Dtype
Representation of scalar types supported by Menoh.
Associated Constants
const ID: menoh_dtype
Integer specifying the scalar type.
assert_eq!(f32::ID, menoh_sys::menoh_dtype_float as menoh_sys::menoh_dtype);
Provided methods
fn check(dtype: menoh_dtype) -> Result<(), Error>
Verify a scalar type.
assert!(f32::check(f32::ID).is_ok()); assert!(f32::check(f32::ID + 1).is_err());
Implementations on Foreign Types
impl Dtype for f32
[src]
impl Dtype for f32
const ID: menoh_dtype
[src]
fn check(dtype: menoh_dtype) -> Result<(), Error> | [src] |