| 1352 | } |
| 1353 | |
| 1354 | static void print_cpp_shape(std::ostream& os, const migraphx::shape& s) |
| 1355 | { |
| 1356 | os << "migraphx::shape{migraphx::shape::" << s.type_string(); |
| 1357 | os << ", {" << to_string_range(s.lens()) << "}"; |
| 1358 | if(not s.standard()) |
| 1359 | os << ", {" << to_string_range(s.strides()) << "}"; |
| 1360 | os << "}"; |
| 1361 | } |
| 1362 | |
| 1363 | std::unordered_map<instruction_ref, std::string> |
| 1364 | module::print_py(std::ostream& os, |
no test coverage detected