|
TinyChatEngine
|
Public Member Functions | |
| Fp32CLIPEncoderLayer (std::string param_path, const struct model_config config, int layer_idx) | |
| struct Fp32CLIPEncoderLayer_output | forward (const struct Fp32CLIPEncoderLayer_input &input) |
Public Attributes | |
| int | embed_dim |
| int | num_attention_heads |
| int | hidden_dim |
| int | layer_idx |
| LayerNorm | layer_norm1 |
| LayerNorm | layer_norm2 |
| Linear_FP | mlp_fc1 |
| Linear_FP | mlp_fc2 |
| Fp32CLIPAttention | attn |
| std::string | profile_name = "Fp32CLIPEncoderLayer" |