|
@@ -1379,7 +1379,7 @@ bool ggml_are_same_stride(const struct ggml_tensor * t0, const struct ggml_tenso
|
|
|
(t0->nb[3] == t1->nb[3]);
|
|
(t0->nb[3] == t1->nb[3]);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// check if t1 can be represented as a repeatition of t0
|
|
|
|
|
|
|
+// check if t1 can be represented as a repetition of t0
|
|
|
bool ggml_can_repeat(const struct ggml_tensor * t0, const struct ggml_tensor * t1) {
|
|
bool ggml_can_repeat(const struct ggml_tensor * t0, const struct ggml_tensor * t1) {
|
|
|
static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function");
|
|
static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function");
|
|
|
|
|
|