MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / ggml_can_repeat_rows

Function ggml_can_repeat_rows

subprojects/llama.cpp/ggml/src/ggml.c:1510–1514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1508}
1509
1510static inline bool ggml_can_repeat_rows(const struct ggml_tensor * t0, const struct ggml_tensor * t1) {
1511 static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function");
1512
1513 return (t0->ne[0] == t1->ne[0]) && ggml_can_repeat(t0, t1);
1514}
1515
1516// assert that pointer is aligned to GGML_MEM_ALIGN
1517#define GGML_ASSERT_ALIGNED(ptr) \

Callers 1

ggml_add_cast_implFunction · 0.85

Calls 1

ggml_can_repeatFunction · 0.85

Tested by

no test coverage detected