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

Class Encode

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

Source from the content-addressed store, hash-verified

251
252
253class Encode(torch.nn.Module):
254 def forward(self, x):
255 return torch.nn.functional.linear(x, torch.randn(5, 10))
256
257
258class Decode(torch.nn.Module):

Calls

no outgoing calls

Tested by

no test coverage detected