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

Function NewSession

tensorflow/core/ops/math_grad_test.cc:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31using FDH = FunctionDefHelper;
32
33std::unique_ptr<Session> NewSession() {
34 SessionOptions opts;
35 (*opts.config.mutable_device_count())["CPU"] = 1;
36 return std::unique_ptr<Session>(NewSession(opts));
37}
38
39class MathGradTest : public ::testing::Test {
40 protected:

Callers 15

UnaryMethod · 0.70
SymGradMethod · 0.70
ReductionGradMethod · 0.70
ReduceSumMethod · 0.70
MatMulCommonMethod · 0.70
MatMulGradCommonMethod · 0.70
SelectGradMethod · 0.70
CandidateGraphRunnerMethod · 0.50
LoadGraphFunction · 0.50
LoadGraphFunction · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected