ggml : fix ggml_cast (ggml/973)

This commit is contained in:
Borislav Stanimirov 2024-09-30 10:11:41 +03:00 committed by Georgi Gerganov
parent 7254cdf7e8
commit 6c5322481a
No known key found for this signature in database
GPG Key ID: BF970631944C16B7

View File

@ -5818,6 +5818,7 @@ struct ggml_tensor * ggml_cast(
result->op = GGML_OP_CPY;
result->src[0] = a;
result->src[1] = result;
return result;
}