Stay organized with collections Save and categorize content based on your preferences.

Gets filepaths for different workers to resolve conflict of MWMS.

Example usage:

strategy = get_strategy("MultiWorkerMirroredStrategy")
worker_filepath = get_output_filepath("model/", strategy)

filepath Path to output model files.
strategy Distributed training strategy is used.

Output path that is compatible with strategy and the specific worker.