docstr: Whether add a file lock to the data loading process for PyTorch Horovod training.
  This would be useful when you run multiple workers on a single node to download data
  to the same destination.
  Default to be False.
docstr_tok: ["Whether","add","a","file","lock","to","the","data","loading","process","for","PyTorch","Horovod","training",".","This","would","be","useful","when","you","run","multiple","workers","on","a","single","node","to","download","data","to","the","same","destination",".","Default","to","be","False","."]
code: def serialize_data_creator(cls):
      """
      Whether add a file lock to the data loading process for PyTorch Horovod training.
      This would be useful when you run multiple workers on a single node to download data
      to the same destination.
      Default to be False.
      """
      return cls._serialize_data_creator
  
imports: import os
  from zoo import ZooContext
label_desc: Use image node_id 7 for calling the OrcaContextMeta obj's underlying member method code with example usage: obj.serialize_data_creator(cls) and returns: cls