unilab.ipc.weight_sync.SharedWeightSync¶
- class unilab.ipc.weight_sync.SharedWeightSync[source]¶
Bases:
objectSynchronize actor weights between learner and collector.
Methods
__init__(param_shapes, *[, create, ...])cleanup()close()from_state_dict(state_dict, **kwargs)read_weights_into(state_dict)write_weights(state_dict)Attributes