shell pip install flower python import flower import tensorflow as tf python server = flower.start_server( server_address="localhost:8080", config={"local_worker": True} ) python client = flower.connect("localhost:8080") python # ... client.approve_task(task_id, success=True) python client.run() python server.stop()


上一篇:
下一篇:
切换中文