MCPcopy Create free account
hub / github.com/Ar-Ray-code/lingbot-depth-trt / __init__

Method __init__

tools/export_trt.py:186–189  ·  view source on GitHub ↗
(self, model: MDMModel, num_tokens: int)

Source from the content-addressed store, hash-verified

184
185class ExportableLingBotDepth(nn.Module):
186 def __init__(self, model: MDMModel, num_tokens: int):
187 super().__init__()
188 self.model = model
189 self.num_tokens = int(num_tokens)
190
191 def forward(self, image: torch.Tensor, depth: torch.Tensor) -> torch.Tensor:
192 output = self.model.forward(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected