MCPcopy Create free account
hub / github.com/pytorch/executorch / Decode

Class Decode

docs/source/tutorials_source/export-to-executorch-tutorial.py:258–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256
257
258class Decode(torch.nn.Module):
259 def forward(self, x):
260 return torch.nn.functional.linear(x, torch.randn(10, 5))
261
262
263encode_args = (torch.randn(1, 10),)

Calls

no outgoing calls

Tested by

no test coverage detected