package tensorboard
Install
Dune Dependency
Authors
Maintainers
Sources
md5=91035b4a9827fdf6e2fb61d0edb1bb2c
sha512=7f09994c0bb844429b795b971ae3bacd927eae4854a4efc36dbf8d6f4ea24e7f05f754f7191747e32b4fef1922589d1db8d2622147a1706efe7e79201329400b
doc/tensorboard.protobuf/Tensorboard_protobuf/Pbrt/Decoder/index.html
Module Pbrt.Decoder
Source
Types
Creator
malformed_variant variant_name
raises the exception Protobuf.Decoder.Failure (Malformed_variant variant_name)
unexpected_payload field_name pk
raises the exception Protobuf.Decoder.Failure (Unexpected_payload (field_name, pk))
missing_field field_name
raises the exception Protobuf.Decoder.Failure (Missing_field field_name)
Decoding Functions
key d
reads a key and a payload kind from d
. If d
has exhausted its input when the function is called, returns None
. If d
has exhausted its input while reading, raises Failure Incomplete
. If the payload kind is unknown, raises Failure Malformed_field
.
skip d pk
skips the next value of kind pk
in d
. If skipping the value would exhaust input of d
, raises Encoding_error Incomplete
.
nested d
returns a decoder for a message nested in d
. If reading the message would exhaust input of d
, raises Failure Incomplete
.
empty_nested d
skips an empty message of 0 length. If reading the message would exhaust input of d
, raises Failure Incomplete
.
packed_fold f e0 d
folds over the a packed encoding with f acc d
and initial value e0
. If reading the message would exhaust input of d
, raises Failure Incomplete
.
int_as_varint d
reads an int
value from d
with Varint
encoding. If the integer value read cannot be converted to int
raises Failure Overflow ""
. If reading the message would exhaust input of d
, raises Failure Incomplete
.
int_as_zigzag d
reads an int
value from d
with zigzag encoding. If the integer value read cannot be converted to int
raises Failure Overflow ""
. If reading the message would exhaust input of d
, raises Failure Incomplete
.
int32_as_varint d
reads an int32
value from d
with Varint
encoding. If the integer value read cannot be converted to int32
raises Failure Overflow ""
. If reading the message would exhaust input of d
, raises Failure Incomplete
.
int32_as_varint d
reads an int32
value from d
with zigzag encoding. If the integer value read cannot be converted to int32
raises Failure Overflow ""
. If reading the message would exhaust input of d
, raises Failure Incomplete
.
int64_as_varint d
reads an int64
value from d
with Varint
encoding. If reading the message would exhaust input of d
, raises Failure Incomplete
.
int64_as_varint d
reads an int64
value from d
with zigzag encoding. If reading the message would exhaust input of d
, raises Failure Incomplete
.
int32_as_bits32 d
reads an int32
value from d
with 32 bit encoding. If reading the message would exhaust input of d
, raises Failure Incomplete
.
int64_as_bits64 d
reads an int64
value from d
with 64 bit encoding. If reading the message would exhaust input of d
, raises Failure Incomplete
.
bool d
reads a bool
value from d
with varing encoding. If the boolean value in d
is neither 0 or 1 raises Failure Overflow ""
. If reading the message would exhaust input of d
, raises Failure Incomplete
.
float_as_bits32 d
reads a float
value from d
with 32 bit encoding. If reading the message would exhaust input of d
, raises Failure Incomplete
.
float_as_bits64 d
reads a float
value from d
with 64 bit encoding. If reading the message would exhaust input of d
, raises Failure Incomplete
.
int_as_bits32 d
reads a int
value from d
with 32 bit encoding. If the integer value read cannot be converted to int
raises Failure Overflow ""
. If reading the message would exhaust input of d
, raises Failure Incomplete
.
int_as_bits64 d
reads a int
value from d
with 64 bit encoding. If the integer value read cannot be converted to int
raises Failure Overflow ""
. If reading the message would exhaust input of d
, raises Failure Incomplete
.
string d
reads a string
value from d
. If reading the message would exhaust input of d
, raises Failure Incomplete
.
bytes d
reads a bytes
value from d
. If reading the message would exhaust input of d
, raises Failure Incomplete
.