| 34 | using impl::OutEdge; |
| 35 | |
| 36 | string IndentAllButFirstLine(absl::string_view text) { |
| 37 | std::vector<std::string> lines = absl::StrSplit(text, '\n'); |
| 38 | for (int i = 1; i < lines.size(); i++) { |
| 39 | lines[i].insert(0, " "); |
| 40 | } |
| 41 | return absl::StrJoin(lines, "\n"); |
| 42 | } |
| 43 | |
| 44 | template <typename T> |
| 45 | bool CompareTensor(const Tensor& actual, const Tensor& expected, |
no test coverage detected