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

Method forward

tools/test_linear_probing_hf.py:168–170  ·  view source on GitHub ↗
(self, x_tokens_list)

Source from the content-addressed store, hash-verified

166 self.linear.bias.data.zero_()
167
168 def forward(self, x_tokens_list):
169 output = create_linear_input(x_tokens_list, self.use_n_blocks, self.use_avgpool)
170 return self.linear(output)
171
172
173class AllClassifiers(nn.Module):

Callers

nothing calls this directly

Calls 1

create_linear_inputFunction · 0.85

Tested by

no test coverage detected