MCPcopy Create free account
hub / github.com/MiniMax-AI/VTP / forward

Method forward

vtp/models/layers/ffn.py:12–13  ·  view source on GitHub ↗
(self, x: Tensor)

Source from the content-addressed store, hash-verified

10 """Mixin for forward_list operation on list of tensors."""
11
12 def forward(self, x: Tensor):
13 raise NotImplementedError
14
15 def forward_list(self, x_list: List[Tensor]) -> List[Tensor]:
16 x_flat, shapes, num_tokens = cat_keep_shapes(x_list)

Callers 1

forward_listMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected