| 4286 | |
| 4287 | static void tensor_expect_layout( |
| 4288 | const ds4_tensor *t, |
| 4289 | uint32_t type, |
| 4290 | uint32_t ndim, |
| 4291 | uint64_t d0, |
| 4292 | uint64_t d1, |
| 4293 | uint64_t d2) { |
| 4294 | if (!t) ds4_die("internal error: missing tensor while validating layout"); |
| 4295 | if (t->type != type) { |
| 4296 | fprintf(stderr, |
| 4297 | "ds4: tensor %.*s has type %s, expected %s\n", |
no test coverage detected