| 28 | } |
| 29 | |
| 30 | std::unique_ptr<ep::primitive::Matmul> NewMatmulPrimitive(DeviceType device_type, |
| 31 | DataType data_type, bool transpose_a, |
| 32 | bool transpose_b) { |
| 33 | const auto trans_a = GetBlasTransposeType(transpose_a); |
| 34 | const auto trans_b = GetBlasTransposeType(transpose_b); |
| 35 | return ep::primitive::NewPrimitive<ep::primitive::MatmulFactory>(device_type, data_type, trans_a, |
| 36 | trans_b); |
| 37 | } |
| 38 | |
| 39 | template<typename Context> |
| 40 | std::unique_ptr<ep::primitive::Matmul> NewChannelsFirstMatmulPrimitive(Context* ctx) { |
no test coverage detected