MCPcopy Create free account
hub / github.com/Tencent/embedx / InitGraphClient

Method InitGraphClient

src/model/embed_instance_reader.cc:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace embedx {
17
18bool EmbedInstanceReader::InitGraphClient(const GraphClient* graph_client) {
19 if (graph_client == nullptr) {
20 DXERROR("Graph_client is nullptr.");
21 return false;
22 }
23 graph_client_ = graph_client;
24 return true;
25}
26
27bool EmbedInstanceReader::InitDeepClient(const DeepClient* deep_client) {
28 if (deep_client == nullptr) {

Callers 2

InitTrainerContextMethod · 0.45
InitTrainerContextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected