| 26 | namespace { |
| 27 | |
| 28 | Output 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 | |
| 34 | void GetColocationConstraints(const Output& tensor, |
| 35 | std::vector<string>* constraints) { |
no test coverage detected