clang-format
This commit is contained in:
@@ -161,7 +161,10 @@ static inline float silu(float v) {
|
|||||||
|
|
||||||
// Apply text_projection: F1 (text_hidden -> text_hidden) -> SiLU -> F2
|
// Apply text_projection: F1 (text_hidden -> text_hidden) -> SiLU -> F2
|
||||||
// (text_hidden -> hidden), both with bias.
|
// (text_hidden -> hidden), both with bias.
|
||||||
static void text_projection_load(PromptTextProjection * tp, const GGUFModel & gf, int text_hidden_size, int hidden_size) {
|
static void text_projection_load(PromptTextProjection * tp,
|
||||||
|
const GGUFModel & gf,
|
||||||
|
int text_hidden_size,
|
||||||
|
int hidden_size) {
|
||||||
tp->in_dim = text_hidden_size;
|
tp->in_dim = text_hidden_size;
|
||||||
tp->hid_dim = text_hidden_size;
|
tp->hid_dim = text_hidden_size;
|
||||||
tp->out_dim = hidden_size;
|
tp->out_dim = hidden_size;
|
||||||
|
|||||||
Reference in New Issue
Block a user