| 897 | } |
| 898 | |
| 899 | static std::string perf_group(instruction_ref ins, bool detailed) |
| 900 | { |
| 901 | std::string result; |
| 902 | auto attr = ins->get_operator().attributes(); |
| 903 | if(attr.contains("group")) |
| 904 | result = attr.at("group").to<std::string>(); |
| 905 | else |
| 906 | result = ins->get_operator().name(); |
| 907 | if(detailed) |
| 908 | { |
| 909 | result += "<" + ins->get_shape().type_string(); |
| 910 | result += "(" + shape::to_sizes_string(to_shapes(ins->inputs())) + ")>"; |
| 911 | } |
| 912 | return result; |
| 913 | } |
| 914 | |
| 915 | void program::mark(const parameter_map& params, marker m) |
| 916 | { |
no test coverage detected