| 52 | )__migraphx__"; |
| 53 | |
| 54 | static std::string generate_make_tensor(std::size_t n, const shape& s) |
| 55 | { |
| 56 | return interpolate_string(make_tensor_template, |
| 57 | {{"n", std::to_string(n)}, |
| 58 | {"type", shape::cpp_type(s.type())}, |
| 59 | {"lens", generate_index_ints(s.lens())}, |
| 60 | {"strides", generate_index_ints(s.strides())}}); |
| 61 | } |
| 62 | |
| 63 | static std::string generate_args_hpp(const std::vector<shape>& inputs) |
| 64 | { |
no test coverage detected