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

Function Linear

tensorflow/cc/framework/cc_ops_test.cc:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace {
27
28Output Linear(const Scope& scope, Input x, Input w, Input b) {
29 auto cop_scopes = scope.GetCompositeOpScopes("linear");
30 auto m = MatMul(cop_scopes.child, x, w);
31 return BiasAdd(cop_scopes.last, m, b);
32}
33
34void GetColocationConstraints(const Output& tensor,
35 std::vector<string>* constraints) {

Callers 15

attentionFunction · 0.85
attention_decoderFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls 3

GetCompositeOpScopesMethod · 0.80
MatMulFunction · 0.50
BiasAddFunction · 0.50

Tested by

no test coverage detected