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

Function LinearOp

tensorflow/cc/framework/scope_test.cc:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89std::vector<string> LinearOp(const Scope& scope) {
90 auto cop_scopes = scope.GetCompositeOpScopes("linear");
91 Scope linear = cop_scopes.child;
92 const string mul_op_name = linear.GetUniqueNameForOp("mul");
93 const string bias_add_op_name = linear.GetUniqueNameForOp("bias_add");
94 auto cop_names = AnotherCompositeOp(cop_scopes.last);
95 return {mul_op_name, bias_add_op_name, cop_names[0], cop_names[1],
96 cop_names[2]};
97}
98
99} // namespace
100

Callers 1

TESTFunction · 0.85

Calls 3

AnotherCompositeOpFunction · 0.85
GetCompositeOpScopesMethod · 0.80
GetUniqueNameForOpMethod · 0.80

Tested by

no test coverage detected