mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-13 20:14:29 +00:00
tests : fix test-grad0
ggml-ci
This commit is contained in:
parent
36c3f41f66
commit
b784f881c3
@ -881,7 +881,7 @@ int main(int argc, const char ** argv) {
|
||||
// scale
|
||||
{
|
||||
srand(seed);
|
||||
const int nargs = 2;
|
||||
const int nargs = 1;
|
||||
|
||||
int64_t ne2[4];
|
||||
ne2[0] = 1;
|
||||
@ -892,7 +892,6 @@ int main(int argc, const char ** argv) {
|
||||
const float s = -1.0f + 2.0f*frand();
|
||||
|
||||
ggml_set_param(ctx0, x[0]);
|
||||
ggml_set_param(ctx0, x[1]);
|
||||
|
||||
struct ggml_tensor * f = ggml_sum(ctx0, ggml_scale(ctx0, x[0], s));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user