blazefl.core.SHMHandle#
- class blazefl.core.SHMHandle[source]#
Bases:
objectSentinel placeholder for a tensor stored in shared memory.
process_tensors_in_object(..., mode="replace")swapstorch.Tensorinstances forSHMHandle()so a lightweight, serializable object graph can be sent between processes without copying tensor payloads. During reconstruction,reconstruct_from_shared_memorytreats this empty marker as “take the corresponding tensor from the shared-memory buffer”.- __init__() None#
Methods
__init__()