baby-llama : couple of clang-tidy warnings
This commit is contained in:
parent
ef3d42a3aa
commit
dae6ba2abe
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ float frand_normal(struct random_normal_distribution * rnd) {
|
|||
struct ggml_tensor * randomize_tensor(
|
||||
struct ggml_tensor * tensor,
|
||||
int ndims,
|
||||
int64_t ne[],
|
||||
const int64_t ne[],
|
||||
float fmin,
|
||||
float fmax) {
|
||||
|
||||
|
@ -77,7 +77,7 @@ struct ggml_tensor * randomize_tensor(
|
|||
struct ggml_tensor * randomize_tensor_normal(
|
||||
struct ggml_tensor * tensor,
|
||||
int ndims,
|
||||
int64_t ne[],
|
||||
const int64_t ne[],
|
||||
struct random_normal_distribution * rnd) {
|
||||
switch (ndims) {
|
||||
case 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue