mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-14 23:09:53 +00:00
ggml : fix ggml_cast (ggml/973)
This commit is contained in:
parent
7254cdf7e8
commit
6c5322481a
@ -5818,6 +5818,7 @@ struct ggml_tensor * ggml_cast(
|
|||||||
|
|
||||||
result->op = GGML_OP_CPY;
|
result->op = GGML_OP_CPY;
|
||||||
result->src[0] = a;
|
result->src[0] = a;
|
||||||
|
result->src[1] = result;
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user