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

Method forward

tools/test_reconstruction_hf.py:135–137  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

133 self.model = model
134
135 def forward(self, x):
136 x = nn.functional.interpolate(x, size=(299, 299), mode='bilinear', align_corners=False)
137 return self.model(x)
138
139 def get_activations(path, model, batch_size, dims, device, num_workers):
140 model.eval()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected