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

Function F

tensorflow/core/framework/attr_value_util_test.cc:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42AttrValue F(const string& name,
43 std::vector<std::pair<string, AttrValue>> pairs) {
44 AttrValue ret;
45 ret.mutable_func()->set_name(name);
46 ret.mutable_func()->mutable_attr()->insert(pairs.begin(), pairs.end());
47 return ret;
48}
49
50AttrValue Fs(
51 std::vector<std::pair<string, std::vector<std::pair<string, AttrValue>>>>

Callers 14

TESTFunction · 0.70
FResourceMethod · 0.50
FNonResourceMethod · 0.50
testWithNumpyInputsMethod · 0.50
DoubleFMethod · 0.50
testGradientMethod · 0.50
ComparisonImplFunction · 0.50
ComparisonWithScalingFunction · 0.50

Calls 4

set_nameMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected