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

Method PythonApiTest

tensorflow/core/api_def/api_test.cc:294–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292class PythonApiTest : public ::testing::Test {
293 protected:
294 PythonApiTest() {
295 OpRegistry::Global()->Export(false, &ops_);
296 const std::vector<string> multi_line_fields = {"description"};
297
298 Env* env = Env::Default();
299 GetGoldenApiDefs(env, kPythonApiDefDir, &api_defs_map_);
300 }
301 OpList ops_;
302 std::unordered_map<string, ApiDef> api_defs_map_;
303};

Callers

nothing calls this directly

Calls 3

DefaultFunction · 0.85
GetGoldenApiDefsFunction · 0.85
ExportMethod · 0.80

Tested by

no test coverage detected