package tensorflow

  1. Overview
  2. Docs
type _ t =
  1. | Unit : [ `unit ] t
  2. | Variant : [ `variant ] t
  3. | Float : [ `float ] t
  4. | Double : [ `double ] t
  5. | Int32 : [ `int32 ] t
  6. | Int64 : [ `int64 ] t
  7. | Complex64 : [ `complex64 ] t
  8. | Bool : [ `bool ] t
  9. | String : [ `string ] t
type p =
  1. | P : _ t -> p
val to_string : p -> string
val of_dt_type : [> `dt_bool | `dt_variant | `dt_complex64 | `dt_double | `dt_float | `dt_int32 | `dt_int64 | `dt_string ] -> p option
val to_dt_type : p -> [> `dt_bool | `dt_variant | `dt_complex64 | `dt_double | `dt_float | `dt_int32 | `dt_int64 | `dt_string ]