package tensorboard

  1. Overview
  2. Docs

Source file types_pp.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[@@@ocaml.warning "-27-30-39"]

let rec pp_data_type fmt (v:Types_types.data_type) =
  match v with
  | Types_types.Dt_invalid -> Format.fprintf fmt "Dt_invalid"
  | Types_types.Dt_float -> Format.fprintf fmt "Dt_float"
  | Types_types.Dt_double -> Format.fprintf fmt "Dt_double"
  | Types_types.Dt_int32 -> Format.fprintf fmt "Dt_int32"
  | Types_types.Dt_uint8 -> Format.fprintf fmt "Dt_uint8"
  | Types_types.Dt_int16 -> Format.fprintf fmt "Dt_int16"
  | Types_types.Dt_int8 -> Format.fprintf fmt "Dt_int8"
  | Types_types.Dt_string -> Format.fprintf fmt "Dt_string"
  | Types_types.Dt_complex64 -> Format.fprintf fmt "Dt_complex64"
  | Types_types.Dt_int64 -> Format.fprintf fmt "Dt_int64"
  | Types_types.Dt_bool -> Format.fprintf fmt "Dt_bool"
  | Types_types.Dt_qint8 -> Format.fprintf fmt "Dt_qint8"
  | Types_types.Dt_quint8 -> Format.fprintf fmt "Dt_quint8"
  | Types_types.Dt_qint32 -> Format.fprintf fmt "Dt_qint32"
  | Types_types.Dt_bfloat16 -> Format.fprintf fmt "Dt_bfloat16"
  | Types_types.Dt_qint16 -> Format.fprintf fmt "Dt_qint16"
  | Types_types.Dt_quint16 -> Format.fprintf fmt "Dt_quint16"
  | Types_types.Dt_uint16 -> Format.fprintf fmt "Dt_uint16"
  | Types_types.Dt_complex128 -> Format.fprintf fmt "Dt_complex128"
  | Types_types.Dt_half -> Format.fprintf fmt "Dt_half"
  | Types_types.Dt_resource -> Format.fprintf fmt "Dt_resource"
  | Types_types.Dt_variant -> Format.fprintf fmt "Dt_variant"
  | Types_types.Dt_uint32 -> Format.fprintf fmt "Dt_uint32"
  | Types_types.Dt_uint64 -> Format.fprintf fmt "Dt_uint64"
  | Types_types.Dt_float_ref -> Format.fprintf fmt "Dt_float_ref"
  | Types_types.Dt_double_ref -> Format.fprintf fmt "Dt_double_ref"
  | Types_types.Dt_int32_ref -> Format.fprintf fmt "Dt_int32_ref"
  | Types_types.Dt_uint8_ref -> Format.fprintf fmt "Dt_uint8_ref"
  | Types_types.Dt_int16_ref -> Format.fprintf fmt "Dt_int16_ref"
  | Types_types.Dt_int8_ref -> Format.fprintf fmt "Dt_int8_ref"
  | Types_types.Dt_string_ref -> Format.fprintf fmt "Dt_string_ref"
  | Types_types.Dt_complex64_ref -> Format.fprintf fmt "Dt_complex64_ref"
  | Types_types.Dt_int64_ref -> Format.fprintf fmt "Dt_int64_ref"
  | Types_types.Dt_bool_ref -> Format.fprintf fmt "Dt_bool_ref"
  | Types_types.Dt_qint8_ref -> Format.fprintf fmt "Dt_qint8_ref"
  | Types_types.Dt_quint8_ref -> Format.fprintf fmt "Dt_quint8_ref"
  | Types_types.Dt_qint32_ref -> Format.fprintf fmt "Dt_qint32_ref"
  | Types_types.Dt_bfloat16_ref -> Format.fprintf fmt "Dt_bfloat16_ref"
  | Types_types.Dt_qint16_ref -> Format.fprintf fmt "Dt_qint16_ref"
  | Types_types.Dt_quint16_ref -> Format.fprintf fmt "Dt_quint16_ref"
  | Types_types.Dt_uint16_ref -> Format.fprintf fmt "Dt_uint16_ref"
  | Types_types.Dt_complex128_ref -> Format.fprintf fmt "Dt_complex128_ref"
  | Types_types.Dt_half_ref -> Format.fprintf fmt "Dt_half_ref"
  | Types_types.Dt_resource_ref -> Format.fprintf fmt "Dt_resource_ref"
  | Types_types.Dt_variant_ref -> Format.fprintf fmt "Dt_variant_ref"
  | Types_types.Dt_uint32_ref -> Format.fprintf fmt "Dt_uint32_ref"
  | Types_types.Dt_uint64_ref -> Format.fprintf fmt "Dt_uint64_ref"