Owl_computation_cpu_device.Make
module A : Owl_types.Ndarray_Mutable
module A = A
type device = {
device_type : Owl_types.device_type;
initialised : bool;
}
type value =
| ArrVal of A.arr
| EltVal of A.elt
val make_device : unit -> device
val arr_to_value : A.arr -> value
val value_to_arr : value -> A.arr
val elt_to_value : A.elt -> value
val value_to_elt : value -> A.elt
val value_to_float : value -> float
val is_arr : value -> bool
val is_elt : value -> bool