MCPcopy Create free account
hub / github.com/antirez/ds4 / model_map_span_vec_include_output

Function model_map_span_vec_include_output

ds4.c:4288–4294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4286
4287static 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",

Calls 1

Tested by

no test coverage detected