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

Function AnotherCompositeOp

tensorflow/cc/framework/scope_test.cc:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80string LastOp(const Scope& scope) { return scope.GetUniqueNameForOp("Last"); }
81
82std::vector<string> AnotherCompositeOp(const Scope& scope) {
83 auto cop_scopes = scope.GetCompositeOpScopes("another_cop");
84 const string c1 = cop_scopes.child.GetUniqueNameForOp("c1");
85 const string c2 = cop_scopes.child.GetUniqueNameForOp("mul");
86 return {c1, c2, LastOp(cop_scopes.last)};
87}
88
89std::vector<string> LinearOp(const Scope& scope) {
90 auto cop_scopes = scope.GetCompositeOpScopes("linear");

Callers 1

LinearOpFunction · 0.85

Calls 3

LastOpFunction · 0.85
GetCompositeOpScopesMethod · 0.80
GetUniqueNameForOpMethod · 0.80

Tested by

no test coverage detected