MCPcopy Create free account
hub / github.com/ckd0817/LLM-Interview-Code / forward

Method forward

ffn/MoE.py:50–116  ·  view source on GitHub ↗

前向传播 Args: x: 输入张量 [batch_size, seq_len, model_dim] Returns: output: 专家混合输出 [batch_size, seq_len, model_dim]

(self, x)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected