package tensorboard

  1. Overview
  2. Docs
No synopsis

Install

Dune Dependency

Authors

Maintainers

Sources

0.0.1.tar.gz
md5=91035b4a9827fdf6e2fb61d0edb1bb2c
sha512=7f09994c0bb844429b795b971ae3bacd927eae4854a4efc36dbf8d6f4ea24e7f05f754f7191747e32b4fef1922589d1db8d2622147a1706efe7e79201329400b

doc/tensorboard.protobuf/Tensorboard_protobuf/Pbrt/Encoder/index.html

Module Pbrt.EncoderSource

Types

Creator

Sourceval create : unit -> t

Convertion

Sourceval to_bytes : t -> bytes

Encoding Functions

Sourceval key : (int * payload_kind) -> t -> unit

key (k, pk) e writes a key and a payload kind to e.

Sourceval nested : (t -> unit) -> t -> unit

nested f e applies f to an encoder for a message nested in e.

Sourceval map_entry : encode_key:('a -> t -> unit) -> encode_value:('b -> t -> unit) -> (('a * payload_kind) * ('b * payload_kind)) -> t -> unit
Sourceval empty_nested : t -> unit

nested f e encodes a zero length empty message

Sourceval int_as_varint : int -> t -> unit

int_as_varint i e encodes i in e with Varint encoding

Sourceval int_as_zigzag : int -> t -> unit

int_as_zigzag i e encodes i in e with Varint zigzag encoding

Sourceval int32_as_varint : int32 -> t -> unit

int32_as_varint i e encodes i in e with Varint encoding

Sourceval int32_as_zigzag : int32 -> t -> unit

int32_as_varint i e encodes i in e with Varint zigzag encoding

Sourceval int64_as_varint : int64 -> t -> unit

int64_as_varint i e encodes i in e with Varint encoding

Sourceval int64_as_zigzag : int64 -> t -> unit

int64_as_varint i e encodes i in e with Varint zigzag encoding

Sourceval int32_as_bits32 : int32 -> t -> unit

int32_as_varint i e encodes i in e with Bits32 encoding

Sourceval int64_as_bits64 : int64 -> t -> unit

int64_as_varint i e encodes i in e with Bits64 encoding

Sourceval bool : bool -> t -> unit

encode b e encodes b in e with Varint encoding

Sourceval float_as_bits32 : float -> t -> unit

float_as_bits32 f e encodes f in e with Bits32 encoding

Sourceval float_as_bits64 : float -> t -> unit

float_as_bits64 f e encodes f in e with Bits64 encoding

Sourceval int_as_bits32 : int -> t -> unit

int_as_bits32 i e encodes i in e with Bits32 encoding TODO : add error handling

Sourceval int_as_bits64 : int -> t -> unit

int_as_bits64 i e encodes i in e with Bits64 encoding

Sourceval string : string -> t -> unit

string s e encodes s in e

Sourceval bytes : bytes -> t -> unit

string s e encodes s in e

Sourceval wrapper_double_value : float option -> t -> unit
Sourceval wrapper_float_value : float option -> t -> unit
Sourceval wrapper_int64_value : int64 option -> t -> unit
Sourceval wrapper_int32_value : int32 option -> t -> unit
Sourceval wrapper_bool_value : bool option -> t -> unit
Sourceval wrapper_string_value : string option -> t -> unit
Sourceval wrapper_bytes_value : bytes option -> t -> unit
OCaml

Innovation. Community. Security.