should not be static

This commit is contained in:
Concedo 2023-04-07 20:35:19 +08:00
parent 43949f7c7c
commit 1abcdb2394
2 changed files with 2 additions and 2 deletions

View file

@ -426,7 +426,7 @@ gpt_vocab::id gpt_sample_top_k_top_p(
return logits_id[idx].second;
}
static bool should_transpose_layer(std::string name)
bool should_transpose_layer(std::string name)
{
if(name.find(".mlp.fc_in.weight")!=std::string::npos ||