mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-28 15:18:26 +01: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