sql-machine-learning / elasticdl

Kubernetes-native Deep Learning Framework
https://elasticdl.org
MIT License
733 stars 113 forks source link

Add factory methods for data_shard_service and master_client. #2452

Closed brightcoder01 closed 3 years ago

brightcoder01 commented 3 years ago

For custom training loop using PS strategy, the data_shard_service instance is required. For this scenario, we public the factory method of data_shard_service.