| 49 | } |
| 50 | |
| 51 | std::string Index::to_string() const { |
| 52 | std::string res = ""; |
| 53 | res.append("{"); |
| 54 | res.append("array="); |
| 55 | res.append(m_array.to_string()); |
| 56 | res.append(",linear="); |
| 57 | res.append(std::to_string(m_linear)); |
| 58 | res.append(",offset="); |
| 59 | res.append(std::to_string(m_offset)); |
| 60 | res.append("}"); |
| 61 | return res; |
| 62 | } |
| 63 | |
| 64 | } // namespace test |
| 65 | } // namespace megdnn |
no test coverage detected