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

Function FromText

tensorflow/core/framework/op_def_util_test.cc:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace {
29
30OpDef FromText(const string& text) {
31 OpDef op_def;
32 EXPECT_TRUE(protobuf::TextFormat::MergeFromString(text, &op_def));
33 return op_def;
34}
35
36OpDef::AttrDef ADef(const string& text) {
37 OpDef::AttrDef attr_def;

Callers 2

TestProtoMethod · 0.70
TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected