MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_can_repeat_rows

Function ggml_can_repeat_rows

ggml.c:2139–2143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2137}
2138
2139static inline bool ggml_can_repeat_rows(const struct ggml_tensor * t0, const struct ggml_tensor * t1) {
2140 static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function");
2141
2142 return (t0->ne[0] == t1->ne[0]) && ggml_can_repeat(t0, t1);
2143}
2144
2145static inline int ggml_up32(int n) {
2146 return (n + 31) & ~31;

Callers 5

ggml_add_implFunction · 0.70
ggml_add_cast_implFunction · 0.70
ggml_mul_implFunction · 0.70

Calls 1

ggml_can_repeatFunction · 0.70

Tested by

no test coverage detected