Is it possible to have a shared object in DDP

When using DDP is it possible to have a shared object?
E.g. having a dictionary with data, from which each process takes the data for training?