MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / start_std_server

Function start_std_server

tensorflow/python/distribute/hvd_strategy.py:781–790  ·  view source on GitHub ↗

r'''Creates, starts, and returns a server_lib.Server.

(config)

Source from the content-addressed store, hash-verified

779
780
781def start_std_server(config):
782 r'''Creates, starts, and returns a server_lib.Server.
783 '''
784 logging.info('Start Tensorflow server.')
785 return server_lib.Server(config.cluster_spec,
786 job_name=config.task_type,
787 task_index=config.task_id,
788 config=wraps_session_config(config.session_config),
789 start=True,
790 protocol=config.protocol)
791
792
793class ReuseVariables(object): # pylint: disable=useless-object-inheritance

Callers 2

evaluateMethod · 0.85
predictMethod · 0.85

Calls 3

wraps_session_configFunction · 0.85
infoMethod · 0.80
ServerMethod · 0.80

Tested by

no test coverage detected