| 54 | } |
| 55 | |
| 56 | std::string format_shape_name(const migraphx::shape& s, const std::string& linebreak) |
| 57 | { |
| 58 | if(s.sub_shapes().empty()) |
| 59 | { |
| 60 | if(s.dynamic()) |
| 61 | { |
| 62 | return "dynamic" + linebreak + s.type_string() + linebreak + "{" + |
| 63 | to_string_range(s.dyn_dims()) + "}"; |
| 64 | } |
| 65 | return s.type_string() + linebreak + "{" + to_string_range(s.lens()) + "}, {" + |
| 66 | to_string_range(s.strides()) + "}"; |
| 67 | } |
| 68 | return "[" + to_string_range(s.sub_shapes()) + "]"; |
| 69 | } |
| 70 | |
| 71 | std::string build_html_label(const graphviz_node_content& content) |
| 72 | { |
no test coverage detected