Check if the operator with 'op_name' and type 'T' is an OneDNN operator that will either understand input tensors in OneDNN layout or will go through name rewrite that some operators go through.
| 246 | // will either understand input tensors in OneDNN layout or will go through name |
| 247 | // rewrite that some operators go through. |
| 248 | static inline bool IsMklOp(const string& op_name, DataType T) { |
| 249 | return IsMklLayoutDependentOp(op_name, T) || IsMklNameChangeOp(op_name, T); |
| 250 | } |
| 251 | |
| 252 | static inline bool IsMklOp(const Node* n) { |
| 253 | DataType T; |
no test coverage detected