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

Function Options

tensorflow/core/distributed_runtime/rpc/grpc_session_test.cc:71–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71static SessionOptions Options(const string& target, int placement_period) {
72 SessionOptions options;
73 // NOTE(mrry): GrpcSession requires a grpc:// scheme prefix in the target
74 // string.
75 options.target = strings::StrCat("grpc://", target);
76 options.config.set_placement_period(placement_period);
77 options.config.mutable_graph_options()
78 ->mutable_optimizer_options()
79 ->set_opt_level(OptimizerOptions::L0);
80 return options;
81}
82
83static Session* NewRemote(const SessionOptions& options) {
84 return CHECK_NOTNULL(NewSession(options));

Callers 3

TESTFunction · 0.70
FindMaxEigenFunction · 0.70
CreateInvalidGraphFunction · 0.70

Calls 1

StrCatFunction · 0.50

Tested by

no test coverage detected