package tensorflow

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