nvflare.app_opt.xgboost.histogram_based_v2.sec.dam module

class DamDecoder(buffer: bytes)[source]

Bases: object

decode_float_array()[source]
decode_int_array() List[int][source]
get_data_set_id()[source]
is_valid()[source]
read_float() float[source]
read_int64() int[source]
read_string(length: int) str[source]
class DamEncoder(data_set_id: int)[source]

Bases: object

add_float_array(value: List[float])[source]
add_int_array(value: List[int])[source]
finish() bytes[source]
write_float(value: float)[source]
write_int64(value: int)[source]
write_str(value: str)[source]