| 169 | } |
| 170 | |
| 171 | constexpr char const* GetReduceOperationAsCString(ReduceOperation reduce_operation) |
| 172 | { |
| 173 | switch (reduce_operation) |
| 174 | { |
| 175 | case ReduceOperation::Sum: return "Sum"; |
| 176 | case ReduceOperation::Max: return "Max"; |
| 177 | case ReduceOperation::Mean: return "Mean"; |
| 178 | case ReduceOperation::Min: return "Min"; |
| 179 | case ReduceOperation::Prod: return "Prod"; |
| 180 | default: return "Unknown"; |
| 181 | } |
| 182 | } |
| 183 | constexpr unsigned int GetDataTypeSize(DataType dataType) |
| 184 | { |
| 185 | switch (dataType) |
no outgoing calls
no test coverage detected