| 1343 | } |
| 1344 | |
| 1345 | static void print_py_shape(std::ostream& os, const migraphx::shape& s) |
| 1346 | { |
| 1347 | os << "migraphx.shape(type=" << to_json_string(s.type_string()) << ", lens=[" |
| 1348 | << to_string_range(s.lens()) << "]"; |
| 1349 | if(not s.standard()) |
| 1350 | os << ", strides=[" << to_string_range(s.strides()) << "]"; |
| 1351 | os << ")"; |
| 1352 | } |
| 1353 | |
| 1354 | static void print_cpp_shape(std::ostream& os, const migraphx::shape& s) |
| 1355 | { |
no test coverage detected