Module message

Source
Expand description

Message type shared by Client, Server, and Worker

Structs§

GradUUID
Pair of client_uuid and request_uuid to help worker find and merge intermediate data
Hash
Hash type for lazy-loading
Intermediate
Cache intermediate data for back propagation and cumulate gradient to reduce communication, only on worker
RequestRayTracingBackward
RequestRayTracingForward
Arguments for ray-tracing forward task
ResponseRayTracingBackward
ResponseRayTracingForward

Enums§

Data
All kinds of lazy-loading data types
Message
Message type shared by Client, Server, and Worker
RequestTask
ResponseTask

Functions§

ensure_data
Load all lazy-loading data hash from required_data into data_cache
insert_map_cache_data
Get hash data from data_cache, insert result of f(data), return new hash
map_cache_data
Get hash data from data_cache, return result of f(data)

Type Aliases§

DataCache
Type for lazy-loading data cache